PHP-1146: Refactor MONGO_METHOD calls in deprecated Mongo error methods

There was previously no test coverage for these deprecated methods, so basic tests were added to ensure a command is actually issued.
PHP-1145: Refactor MONGO_METHOD calls in MongoDBRef::get()