All blocking Kate processes were restarted on session restore which
led to launching (possibly) multiple redundant instances.
This change asks the session manager to not restart such processes.
Note: QObject::connect() is used here because the session manager
can't be accessed directly according to the documentation [1]:
In Qt, session management requests for action are handled by the two signals QGuiApplication::commitDataRequest() and QGuiApplication::saveStateRequest(). Both provide a reference to a QSessionManager object as argument. The session manager can only be accessed in slots invoked by these signals.
[1] http://doc.qt.io/qt-5/qsessionmanager.html#details
BUG: 360066
FIXED-IN: 18.04