Move service worker registration and worker state updates out of main thread for service worker contexts. This is a follow-up to revert https://github.com/WebKit/WebKit/pull/2077
<rdar://problem/96510954>
Pull request: https://github.com/WebKit/WebKit/pull/2115