adding localStorage module and test
updating all modules to use local-storage module
name change: localStorage -> storage
logging isAvailable failure; test isAvailable with actual data
handle migration
Merge pull request #762 from guardian/local-storage-module

Local storage module