FIX BUGS IN WEBSQL

- [x] get db versioning actually working for websql, actually write versions, on version change we destroy everything for now
- [x] test it in safari