Improved MongoClient pooling to avoid out of connections error

Use 1 MongoClient instance per database server determined by host:port +
connection options

Fixes bug #1218488

Change-Id: If06844f6bf09674216b029310c1a5f445c4476fe
Merge "Improved MongoClient pooling to avoid out of connections error"