Added BSON

Added BSON from MongoDB that will be used for encoding network messages. This should hopefully be a bit more robust than our current implementation and should allow us to have have a quite flexible model when sending messages