Update the signature of registerServiceWorker to make the scope a mandatory first argument; plan to keep it until a property bag is clearly adopted
Change the attribute name: self.scope to self.registration aligning to the service_worker.ts definition
Refine the registerServiceWorker algorithm: https://github.com/slightlyoff/ServiceWorker/issues/146