Fixed PHP-812: Remove unused MongoDBRef::$refKey && MongoDBRef::$idKey.
Merged pull request #483
Fixed PHP-858: Crash when extending Mongo and MongoClient classes and not calling its constructor