ServiceWorker: throw when close() or terminate() called

Per spec:
* ServiceWorker#terminate() should throw InvalidAccessError
* ServiceWorkerGlobalScope#close() should throw InvalidAccessError

... since the behaviors inherited from the base interfaces are not
supported.

Spec: slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html

BUG=398318

Review URL: https://codereview.chromium.org/505063002

git-svn-id: svn://svn.chromium.org/blink/trunk@181049 bbb929c8-8fbe-4397-9dbb-9b2b20218538