Adding localStorage support

It quite works, but it broke the isModified process to know when data has been updated.
So this still needs to be solved.
Fixed init process with both storage and hash

... but I had to tweak the init process a bit brutally. Anyway, it works.