(#1482) - Update docs to new 'npm test' command
(#1486) - Finish tests setup + chai refactor
(#1487) - few more variable tweaks
(#1487) - extra get -> put
(#1352) - Remove allDbs
(#1352) - Follow up, remove missing test script from html
(#1150) - use prototype
(#1478) - Document use of options.db with leveldb
(#1172) fix total_rows/migration for websql/idb/ldb

This commit adds several major fixes to the WebSQL,
IDB, and LevelDB adapters:

1) total_rows now correctly returns the number of
undeleted documents, ala Couch.

2) keys/startkey/endkey/key/limit/offset logic
is now largely handled in the database for performance
(esp. WebSQL).

3) Various fixes to the above to match Couch behavior.

4) Migration logic to ensure that even if the database
schema changes, existing users can be migrated
to the new schema. Migrations have unit tests.