fixed:
- remove a category
- move the elements to another category before deleting the category
* add the delete logic for the categories not sent by the JS to the Restaurant->saveCategories() model
* added a simple UI functionality to trigger the jquery ui buttons hover effects,
* added the delete category button and set a style for it
* added a dialog when the delete category button is clicked, it shows the form for the category that will handle the existing dishes
* created the deleteCategory method that moves the dishes from one category to another and that removes the existing category from the DOM
* fixed a problem with the dish category dialog
* database table for categories, sort field can't be null, 0 by defaylt
ALTER TABLE `category` CHANGE `sort` `sort` INT( 11 ) NOT NULL DEFAULT '0';
* preset the sort value for new categories to list them at the bottom
* make the dish options to be returned using the return value
* made the SQL query to fetch the options readable
* added the sort value to be stored in the Restaurant model
* added style to the CSS to make it clear what the sort field was used for
* added the sort value to be sent when storing the options
* added the sort field to the option form
* return the categories for a restaurant, order by the sort field
* improved the way the field forms are shown, using the new CSS class labeled-fields
* added the category input fields to be able to rename and resort the category
* changed the JS to add the new fields to the API call to store the category changes
* reorder the restaurant form page to make it look more like a standard page
* save button now stores all the restaurant information
* on save-button click, a dialog is shown to lock the page
* the save button will always reload the page with the stored information