Use the prefix for keys & length in localStorage

Fixes #275
Merge pull request #276 from ocombe/patch-2

Use the prefix for keys & length in localStorage