Extension hooks and skeleton of phongo, and basic bson implementation

Ultimately, do we want to create a stream context here for logging callbacks?