Initial attempt at queuing tasks
The beginning of the end of code duplication. Extracted api.replicate from the adapters.

This commit marks the start of pouch.adapter.js which will handle all generic api requests as well as general argument parsing.
Revert "Initial attempt at queuing tasks"

This reverts commit 627b9a6bbbc5d9bbea11b5c3d9a9070bc286e0a3.
Merge branch 'master' of github.com:daleharvey/pouchdb into replication-abstraction
Fix for node and generic PouchAdapter
Added pouch.adapter.js to grunt
Merge pull request #449 from benrudolph/replication-abstraction

Replication abstraction