[WIP] Refactoring MONGO_METHOD calls

https://jira.mongodb.org/browse/PHP-820 and related sub-tasks