Direction parameter of openCursor is not nullable.
Direction parameter of openCursor is not nullable.

Added logic to take out the parameter entirely if it was null.

Reference: http://www.w3.org/TR/IndexedDB/#widl-IDBObjectStore-openCursor-ID

Conflicts:

	src/adapters/pouch.idb.js

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