Refactoring MONGO_METHOD calls in mongoclient.c and mongo.c

https://jira.mongodb.org/browse/PHP-820 and related sub-tasks
I'd probably have named this php_mongodb_init - i think there is precedence for that too.