Fix PSR2 CS
Replace deprecated 'safe' option, update tests
Fix Travis build
Replace references to deprecated 'connection' property
Replace another reference to the 'connected' property
Fix syntax error fail
Remove empty check
Add 'connected' property
Replace deprecated Mongo class with MongoClient
Remove extra space
Keep 'safe' property as boolean, inject 'w' option
Fix falsy assertion
Inline set 'w' value
Merge pull request #2 from bcrowe/fix-psr2

Fix all the things.