(#157) - .then(null, -> .catch(
(pouchdb/pouchdb#2128) - temp views with the same name

Using the same name for all temp views, which
avoids OOM errors in Safari/iOS due to avoiding
too many open DB handles. Access to all temp views
is sequentialized.
(#151) - promise code cleanup
(#152) - update the metaDoc first
(#156) - v2.2.2
(#161) - fix viewCleanup 'ddoc/view' dedup

There was a problem before with the _local/mrviews
doc, where we weren't putting the fullViewName
(e.g. 'myddoc/myview'), and instead might put
just the abbreviated name ('myview').  This creates
duplication problems, but it's also something
that viewCleanup() didn't expect, hence errors
in that function.

The fix has an ignored if statement, because that
part is tested in a migration test in pouchdb
proper.
(#165) - add es3ify
(#164) - v2.2.3
(#169/170) - es3ify back to global
(#175) - fix promisedCallback
(pouchdb/pouchdb#2017) - remove putView

Whatever we decide to do for the index sugar,
it seems pretty clear that we're not going to
go with putView().  We never used it internally,
so we might as well just remove it.
(pouchdb/pouchdb#2273) - get rid of peer dependency

I thought we already got rid of this.

Anyway, we're apparently using the peer dependency
incorrectly for mapreduce, because it breaks
projects that depend on pouchdb when they try
to do `npm shrinkwrap`.

Peer dependencies are designed for true plugins,
not dependencies of the main module. In our
terminology mapreduce is a "plugin," but for
the purposes of npm it's not.
(#167) - add firefox/selenium tests to travis
(pouchdb/pouchdb#2017) - and take putView out of the tests
(#178) - No more crash when ';'-ending view function
(#182) - use pouchdb-extend
(#195) - fix coverage

Apparently istanbul got smarter at some point and caught that
in create-view.js at the line:

    view.seq = lastSeqDoc ? lastSeqDoc.seq : 0;

The first condition was never occurring, due to the caching.
Closing the database and opening another one susses this out.
(pouchdb/pouchdb#445) - use spark md5 instead of jkmeyers
(#181) - Changed not_found status from 400 to 404.
(#204) - increase test timeout