Updated 2 Mongo function calls

Updated the Mongo function calls to work with the latest version, as follows:  

Changed `new Mongo()` to new `MongoClient()`  
Changed `$mongo->selectDb()` to `$mongo->selectDB()`