move shell argument manipulation to session
we need this to happen before KSandbox::makeHostContext because the first argument is not necessarily the shell command anymore afterwards, confusing the legacy logic inside Pty. simply move the manipulation into Session.cpp
this should make the flatpak build work properly