For 'Open in Browser', add support for the user's primary browser

On my system, the default settings of 'Open in Browser' are very surprising: it will open Chrome even though it's not my primary browser.

This pull request will use the user's primary browser by default. It uses Python's webbrowser module to do the hard work.

The user can of course still control which browser is opened, by changing the SideBar settings.