Allow tags to be used to control which db to connect to

This allows the connection to be controlled to, say,
connect to a db in the same data centre
Merge pull request #27 from atlasapi/search-mongo-tag-preference

Allow tags to be used to control which db to connect to