Use maxWriteBatchSize from ismaster for write command batch splitting.

RUBY-724
debugging puts removed

RUBY-724
update @max_write_batch_size for every user batch_write, not just for bulk API

RUBY-724
handle empty bulk op

RUBY-724