Port Krita to QApplication and QCommandLineParser
This introduces the KisApplicationArguments class which can serialize and deserialize the arguments for passing on to a running instance of Krita.