Fix bug in BsonWriter where CalculateSize have to be called before EndProperty.
Fix bug in BsonWriter where CalculateSize have to be called before EndProperty.

zh-huan/mongodb,mongodb-csharp/mongodb-csharp,samus/mongodb-csharp