(#1714) - Fix replicate detecton of errors from bulkDocs
Merge remote-tracking branch 'pouchdb/master' into 113-WIP-coverage
got spawn working