Merge pull request #45 from ngokevin/master

multi-layer caching into memory, refactor db.js (bug 1012790)
Revert "align review count"

This reverts commit ed97a942884d7f214d4dbf9b2f3c66fa6b005f9f.
use localstorage over idb
clear localforage on quota exceeding