Various minor fixes to websql adapter
Merge pull request #340 from daleharvey/fix-safari

Various minor fixes to websql adapter
Merge pull request #335 from jlaxson/iterative-tree-algorithms

Iterative tree algorithms
Additional tests for changes api
IDB.changes() always fetches the winning revision, implement style=all_docs, optimize for multiple edits to the same doc
Pouch.replicate needs to ask for all_docs
HTTP.changes allow to specify all_docs
WebSQL support for out-of-order conflicts like idb, patch a few minor issues
WebSQL - remove database ID on destroy