IndexedDB detection tests for indexedDB.open

As a side effect, both indexeddb and indexeddb.deletedatabase are async tests now
[closes #1390]