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()`
Merge pull request #387 from aaaqqqq/patch-1

Updated 2 Mongo function calls