[all-permissions] Add web MIDI API and fix notifications callback.

FYI the notification callback doesn't currently respond "default" --- it responds allowed or denied. But Notification.permission will show all three states. It's weird. I filed a bug and believe mounir has a CL out to fix it.