recognize bison-generated parsers

Change-Id: Ia531b0d87b5fef7556f21803ec8883c782ea0f18
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Port `normalize` to QCommandLineParser, to fix its compilation.

app.argc() doesn't exist anymore.

Change-Id: Ia4e871e673f819e85d41d4eabe04987a57313995
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>