#27 - Wrapping localStorage to make access safe if disabled

Wrapped localStorage as safeLocalStorage in an immediately invoked function expression to only generate one object.

Updated isSupported to make sure the getItem function is defined.