support localStorage emulations (e.g. Node module 'dom-storage') by using the official getter/setter methods of the W3C DOM Storage API
Merge pull request #15 from rse/localStorage

better support localStorage emulations (e.g. Node module 'dom-storage')