Inmemorystorage rebranched

let's see what travis thinks of this.

@ggrin can you merge test/unit/sync-suite.js and test/unit/sync-suite1.js into one file on this branch?