Fixed zts macros
PHP-1188: Implement BSON code and code with scope types

NOTE: This type is not supported by Extended JSON :(
bump libbson
Fix some compiler warnings: (de-)constify
Move the helpers up rather then in the middle of the vtable
PHP-1187: Implement BSON binary type