Disallow waitUntil() of manually constructed events (#1166)
This change adds a guard to waitUntil() that disallows the extension of
the event that is not dispatched by the user agent.
Issue: https://github.com/w3c/ServiceWorker/issues/#1040.
Test: https://github.com/w3c/web-platform-tests/pull/6517.