(pouchdb/pouchdb#1936) - implemented inclusive_end for query

Added tests, pass the inclusive_end http parameter for
http queries and compute the right endkey when querying
local dbs
(#143) - add test for staggered seqs
(#89) - fix PouchDB peer dep for real

We need to depend on PouchDB 2.2.0+, because
it added the registerDependentDB stuff which
we now rely on.
(#147) - Release 2.2.0
(#147) - Reduce peer dep and publish 2.2.1

Otherwise we cant run pouch tests until Pouch 2.2.0 is released