Upgrade to mongo-java-driver 2.11.1 and replace all calls to deprecated methods with the proper ones