BrowserSim/CordovaSim: fixes for Mac

-fixed incorrect preferences dialog
-added engine switching behaviour for Mac Os like on Windows
-increased button width in Dev Tools debugger dialog