Update MongoDBCacheImpl.java

Added ability to connect to replica set or mongo cluster with more mongos.