Add implementation and header files for Web Extensions Permissions and Event APIs
<rdar://problem/103088546>
Pull request: https://github.com/WebKit/WebKit/pull/8239
Committed 258552@main (290f26cb9bdc): <https://commits.webkit.org/258552@main> Reviewed commits have been landed. Closing PR #8239 and removing active labels.