Fix an issue with testing for indexeddb in safari in an iframe.
Merge pull request #251 from honeinc/fix/safari

Fix an issue with testing for indexeddb in safari in an iframe.
refactor(localforage): create a constructor for the localforage object
feat(localforage): add support for multiple storage instances