add deleteDatabase as a subprop detect to indexedDB.

fixes #1227, also fixes #979