localStorage improvements:
* used sha1 hash to shorten collection names length in the storage key
* fixed a lot of bugs in GC and made it workable at least in Chrome