Refactoring MONGO_METHOD calls in mongoclient.c and mongo.c

https://jira.mongodb.org/browse/PHP-820 and related sub-tasks
I prefer "return 0;" and "return 1;" instead of FAILURE/SUCCESS. Mostly because if (SUCCESS) doesn't actually evaluate to true.