Tags db api

The DB api methods allowing to perform basic operations on tags.
Story db api updated to support adding/deleting tags and querying by a
set of tags.

Change-Id: I9fa6d97f5751b3b1d7aeeb8fa23ac41886d3cc2a
Merge "Tags db api"