Add support for batch=ok inserts

Add support for "batch=ok" inserts http://guide.couchdb.org/draft/performance.html#batch which offer slightly better performance on fast but asynchronous inserts where batch mode cannot be used.