KProcessRunner: fix OpenUrlJob and CommandLauncherJob unittests
Check m_service before using it, it's not always assigned in KProcessRunner::init().
Also move maybeAliasedName() to the base class, then it can be used from all the sub-classes.
Check m_service before using it, it's not always assigned in KProcessRunner::init().
Also move maybeAliasedName() to the base class, then it can be used from all the sub-classes.