Fixed PHP-1137: Removed ugly private API hacks
Fixed PHP-1138: Use Zend MM for libbson
Touch up WriteResult as return value