Extension hooks and skeleton of phongo, and basic bson implementation

RuntimeException makes more sense here.