feat(InboxTag): add abstraction for querying by tag

Provides a simple abstraction for querying Tag objects, and querying for
threads attached to those tags.

It is not yet possible to query for messages attached to a given tag, as this
is somewhat blocked by a caching feature, but is forthcoming.