Make localStorageKey configurable via the Configuration object

Fix for #338. I kept global config, was that supposed to be removed?
this should be `this.key = Configuration.localStorageKey;`