AbstractBsonWriter refactoring

DRY up implementation classes
JAVA-1290