Refactors all cases where a window class was created to show a browser dock in to one class: BrowserDock. Removes some unnecessary code duplication.
Closes obsproject/obs-studio#1721