PHP-797: Deprecate the exception properties, the getXX() methods should be used
instead
Add a testcase for MongoClient properties, making sure we only deprecate
the property names when they are accessed from valid scopes and don't
act like a dbname
Fix test after deprecating the connected property