Extension hooks and skeleton of phongo, and basic bson implementation

Looks like this was copied from language edits you made in f277d731e96d5b9d361886e20a0d7bb6614534ce. Should be "from which this result originated".