Added db APIs for Glance
changed urls and response format according to the review comments
Merge pull request #259 from manalilatkar/dbapi_for_glance

Dbapi for glance