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
(#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
server got renamed to connect
Merge pull request #496 from calvinmetcalf/494-fix-spatial-globals

494 fix spatial globals
Merge pull request #501 from neojski/grunt-upgrade-server-missing

server got renamed to connect
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