[IndexedDB] Replace setVersion with upgradeneeded

Update for latest specification. setVersion => "upgradeneeded" event callback