Made some APIs compatible with mac in GnomeHelper, and moved them to the new DesktopHelper.
Disabled BashHelper#quote_bash_string, because it's broken.