Started unit testing Dexie.Syncable.js

Started unit testing Dexie.Syncable.js. Lots of issues fixed in Dexie.js
and Dexie.Syncable.js.