Fix IE 10 null/undefined bug (fix #161)
Wrap localStorage.key in try/catch (fix #162)
Update Changelog
Improve tests