Extension hooks and skeleton of phongo, and basic bson implementation

You use "integer" elsewhere. Just the write batch count proto's are saying "int"