Max search results array-ish
refactoring
Add WebSQL backend
Merge branch 'master' into gh-pages