added foods controller and basic tests for index, etc
added some functions to add food item, etc
added methods for destroying and editing .. plus unique on categories
added method to model for categories
upgraded rails patch and changed test to work
added routes for api calls and added method to model to return hashed response an introduced a food controller for api and removed comma in base controller in api.
added cane for formatting and more tests
updated brakeman
added tests for extra methods in model
Merge pull request #1 from otaiga/food_controller

Food controller