Cc switch to wrapup

There's quite a bit of refactoring, so you can use it on cjs environments and by using a building any tool like wrapup to build the web version.
In this way you can just include the single implementation (eg websql) if you want, 
also should be more simpler to test the single implementation, provided you've a browser that support that implementation to run the test on it.

todo: switch to polpetta to run the tests :trollface: