fix #1372 Storage event issue

This commit makes sure storage events do not cause errors when the stored
values are not JSON, or when events are not listened to.

(cherry picked from commit 2e33572f44e2c62694b97d66049b7ba479333e32)

Conflicts:
	src/aria/storage/HTML5Storage.js