Add Util.openFile() and fix more URL/file opening bugs.

 - The incorrect path was passed when browsing plugins.
 - The Desktop class was used directly in the HistoryPanel and
   UploaderPanel classes.
Merge pull request #9 from grahamedgecombe/master

Add Util.openFile() and fix more URL/file opening bugs.