Move handling of -qmljsdebugger argument to QCoreApplication