Extension hooks and skeleton of phongo, and basic bson implementation

Same as `executeCommand()`: https://github.com/bjori/phongo/pull/4/files#discussion_r13977383