added web api for getting category list from category table, updated daocategory to create a json object