Error message when localstorage is not supported.

Localstorage is not supported in Internet Explorer when loading a file locally using file://. This change detects that Localstorage is not supported and provides an error message.