Check for localStorage support before using it

This should solve #91. I didn't implement any alternative to localStorage (such as cookies); it just fails gracefully and doesn't try to save/load anything if the browser doesn't support localStorage (falls back to the defaults on each page load).