A wrapper for localStorage, which will use chrome.storage if used in a chrome packaged app