Merge branch 'master' of https://github.com/daleharvey/pouchdb into 468-allDocs-uses-seq
Test and fix attempt of #468 (idb)

* test created
* putAfter function added to utils
* remove seq usage from idb adapter
Fix test

* revision tree was incorrectly created in this test (new_edits: false forgotten)
Leveldb first fix attempt (#468)
Fix leveldb adapter (#468)
Revert visualizeRevTree (wrong branch)

VisualizeRevTree got modified here but it shouldn't. It does not belong
to 468
Revert deleted pouch.alpha.js

It got deleted as it's not a good idea to have it there. Will fix that
in a new branch
Add putAfter and extend to lint globals
Fix lint again

Globals got to the wrong file
Move extend to external file
Add extend to global objects
Fix extend leaking global

* extend is no longer global
* add extend to all tests
Merge branch 'master' of https://github.com/daleharvey/pouchdb into 468-allDocs-uses-seq
Merge branch '468-allDocs-uses-seq' of git://github.com/neojski/pouchdb into neojski-468-allDocs-uses-seq

Conflicts:
	src/pouch.utils.js
Merge pull request #503 from daleharvey/neojski-468-allDocs-uses-seq

Neojski 468 all docs uses seq