Rework command line arguments parsing code.

Use QCommandLineParser instead of parsing QCoreApplication::arguments()
directly.
Issue: https://github.com/woodenshark/Lightpack/issues/10