added ability to create from write batch, supporting commit upstream

https://github.com/facebook/rocksdb/commit/9fc23d0c56db27a7ba164f5244fce802fea9578d