Supports options and switches.
Shortnames, defaultvalues and helptexts can be added optionally.
Accessmethod CliParser::value(QString key) always returns a QVariant.
For switches, if no default is given, it returns "false", for options it returns "QVariant()".