Backport SSL status API to Tor Browser alpha

We'd like to test selfauthenticating subdomains in nightly/alpha releases. We need to backport the WebExtensions SSL status API for that. This includes patches for

https://bugzilla.mozilla.org/show_bug.cgi?id=1322748 and child bugs.