C API: support constructing write batch from serialized representation
Merge pull request #190 from edsrzf/c-api-writebatch-serialized

C API: support constructing write batch from serialized representation