POC BSON implementation

Did this a while back. It builds and the tests succeed but should probably be rewritten :)
Mostly testing the travis and coveralls system with this PR :D
`retval` seems like an odd name, as these functions never return it and it only makes sense when we're processing the top-level document's fields for a decode operation.