Add labels

* labels display their shortest prefix which defines each rev
Fix lint problems
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
Merge branch 'master' of https://github.com/daleharvey/pouchdb into visualize-rev-tree
Revert pouch.alpha.js deletion

It needs to be deleted as it's quite old but it will get deleted
when I finish improving todo-list.
(#497) adding global utiitly function
(#494) taking globals out of spatial
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 pull request #479 from neojski/visualize-rev-tree

Visualize rev tree