Implement open_revs using idb adapter, small fixes

* pouch.js - add generic error for bad request
* pouch.merge.js - fix Tree comment
* pouch.utils.js - add comments
* add test for open_revs
* add test for get with rev parameter (leveldb fails!)