Unpolyfill localstorage.

Fixes #634.

The unit test now passes in Firefox when dom.storage.enabled is set to
false (if we care :)

Tested in Chrome, Firefox, and IE 6 and 7.
localstorage package should be internal
Update notices and HISTORY.
Merge branch 'pr/979' into devel