Bunch of minor stuff

* Changed www to www.js so Intellij would recognize it as JS
* Put in code to replicate skimdb (this led to the epic quest to improve perf and robustness in PouchDB)
* Put in random tests to test random things

Keep in mind that this is all prototype code and so will be going away.