Factor out running GUI software from system scripts
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
Original created by @tails on 6144 (Redmine)