Factor out running GUI software from system scripts
Originally created by Tails on #6144 (Redmine)
We need a uniform way to start GUI applications from system scripts:
/etc/NetworkManager/dispatcher.d/60-iceweasel.sh
/usr/local/sbin/restart-vidalia
Thus should be factored out in the Tails shell library.
Parent Task: #6145