Added db_api for comments

The db api layer for comments.
Migration to add is_active to comments table.

Change-Id: Idc54a30c347020fdc66fb6e38a3522d9201218ce