Fix issue #76
Wrap the check for localStorage/StorageEvent in a try/catch because
firefox throws an exception when accessing those properties in certain
cases due to bug https://bugzilla.mozilla.org/show_bug.cgi?id=748620
Merge pull request #77 from awaters1/master

Fix issue #76