Fix for IndexedDB InvalidStateError in Firefox Private Browsing mode. Requires async checking for driver support.
Fix tests which use driver() before localforage is ready