Add support for PUT /posts/batch.

Support for PUTing multiple documents at a time, without incurring network roundtrip.