Refactored BsonInt32 and added unit tests.
Refactored BsonInt64 and added tests.