Added chrome local storage (for browser extensions)

When using in a Chrome extension, vanilla localStorage doesn't share data across tabs. To keep users logged across tabs in Chrome extensions, it needs to use the chrome.storage API (https://developer.chrome.com/apps/storage) which is asynchronous, hence the use of a promise. Note: users also have to grant the "storage" permission in their manifest.json file for it to work.