(#136) - Fix "Reporting write failures (#942)"
(#136) - Fix "Reporting write failures (#942)"

Change the "Reporting write failures (#942)" test to avoid dependencies
on the _changes feed order. This was failing against CouchDB 2.0 because
sometimes document "b" would come before "a" in the feed. The mocking
function would return a write error for document "b" which caused the
replication to abort at which point the assertions around documents
read / written fail.

The mocked bulk_docs endpoint now returns failure for the second
document, regardless of the _id.

daleharvey/pouchdb,garrensmith/pouchdb,tohagan/pouchdb,willholley/pouchdb,marcusandre/pouchdb,mwksl/pouchdb,johnofkorea/pouchdb,cesarmarinhorj/pouchdb,marcusandre/pouchdb,adamvert/pouchdb,lakhansamani/pouchdb,jhs/pouchdb,tohagan/pouchdb,h4ki/pouchdb,colinskow/pouchdb,yaronyg/pouchdb,willholley/pouchdb,mwksl/pouchdb,ntwcklng/pouchdb,slang800/pouchdb,tyler-johnson/pouchdb,Knowledge-OTP/pouchdb,marcusandre/pouchdb,greyhwndz/pouchdb,Dashed/pouchdb,yaronyg/pouchdb,nickcolley/pouchdb,shimaore/pouchdb,lukevanhorn/pouchdb,ntwcklng/pouchdb,Actonate/pouchdb,tyler-johnson/pouchdb,nicolasbrugneaux/pouchdb,asmiller/pouchdb,Charlotteis/pouchdb,pouchdb/pouchdb,lukevanhorn/pouchdb,ramdhavepreetam/pouchdb,janraasch/pouchdb,mikeymckay/pouchdb,colinskow/pouchdb,johnofkorea/pouchdb,asmiller/pouchdb,crissdev/pouchdb,janl/pouchdb,optikfluffel/pouchdb,optikfluffel/pouchdb,callahanchris/pouchdb,Dashed/pouchdb,evidenceprime/pouchdb,pouchdb/pouchdb,callahanchris/pouchdb,KlausTrainer/pouchdb,mainerror/pouchdb,HospitalRun/pouchdb,Charlotteis/pouchdb,tohagan/pouchdb,mainerror/pouchdb,daleharvey/pouchdb,microlv/pouchdb,mwksl/pouchdb,jhs/pouchdb,elkingtonmcb/pouchdb,cdaringe/pouchdb,Knowledge-OTP/pouchdb,lakhansamani/pouchdb,slang800/pouchdb,cesarmarinhorj/pouchdb,p5150j/pouchdb,KlausTrainer/pouchdb,shimaore/pouchdb,HospitalRun/pouchdb,cshum/pouchdb,patrickgrey/pouchdb,seigel/pouchdb,optikfluffel/pouchdb,Actonate/pouchdb,janl/pouchdb,nicolasbrugneaux/pouchdb,ramdhavepreetam/pouchdb,h4ki/pouchdb,garrensmith/pouchdb,patrickgrey/pouchdb,seigel/pouchdb,cesarmarinhorj/pouchdb,cshum/pouchdb,microlv/pouchdb,slang800/pouchdb,janraasch/pouchdb,greyhwndz/pouchdb,shimaore/pouchdb,mikeymckay/pouchdb,TechnicalPursuit/pouchdb,lukevanhorn/pouchdb,mattbailey/pouchdb,h4ki/pouchdb,janl/pouchdb,daleharvey/pouchdb,nicolasbrugneaux/pouchdb,callahanchris/pouchdb,TechnicalPursuit/pouchdb,elkingtonmcb/pouchdb,adamvert/pouchdb,bbenezech/pouchdb,elkingtonmcb/pouchdb,mattbailey/pouchdb,ntwcklng/pouchdb,tyler-johnson/pouchdb,bbenezech/pouchdb,crissdev/pouchdb,mikeymckay/pouchdb,nickcolley/pouchdb,KlausTrainer/pouchdb,asmiller/pouchdb,pouchdb/pouchdb,cdaringe/pouchdb,Charlotteis/pouchdb,johnofkorea/pouchdb,Knowledge-OTP/pouchdb,lakhansamani/pouchdb,p5150j/pouchdb,seigel/pouchdb,patrickgrey/pouchdb,adamvert/pouchdb,cdaringe/pouchdb,garrensmith/pouchdb,ramdhavepreetam/pouchdb,willholley/pouchdb,microlv/pouchdb,colinskow/pouchdb,crissdev/pouchdb,Dashed/pouchdb,Actonate/pouchdb,janraasch/pouchdb,greyhwndz/pouchdb,mainerror/pouchdb,mattbailey/pouchdb,yaronyg/pouchdb,HospitalRun/pouchdb,TechnicalPursuit/pouchdb,bbenezech/pouchdb,nickcolley/pouchdb,p5150j/pouchdb,cshum/pouchdb,jhs/pouchdb