(#2126) WIP - bulkDocs promise results

Here is a test which detects the fault, showing that it only occurs if new_edits is false and for the http adapter but not the leveldb adapter.