retrieval of category list from db

implemented a separate service to retrieve the categories from database.

Yet to do : make ajax call from js to retrieve the categories from REST
service and populate the drop down.