test removal of content views and text fields in browser extension
Created by: sqs
Also fixes a bug where link preview provider observables were not unsubscribed when they were no longer needed, which consumed needless resources (though is not the cause of any known issues and probably was not noticeable).
Addresses https://github.com/sourcegraph/sourcegraph/pull/3392/files#r275946039