Extension hooks and skeleton of phongo, and basic bson implementation

I realize this is copy-pasting, but I do hope `return_value` is used here. Also in the other methods that actually do return something.