Added a broader amount of browser support

Now supports your default webbrowser instead of just Iceweasel, if you didn't have Iceweasel installed it would throw an exception when you run the script with the --open argument.

Also fixed some more path joining flaws which I've overlooked before.