(#1622) - WIP - run in phantomjs

So if we rebase on top of #2174 and #2152, we get a working PhantomJS test, which is probably the fastest current way to test WebSQL.