Refactoring MONGO_METHOD calls in mongoclient.c and mongo.c

https://jira.mongodb.org/browse/PHP-820 and related sub-tasks
In the PHP code we use FAILURE/SUCCESS.
In mcon its 0/1