Process command line by looking for arguments in key=value form and parsing their values into dict. Non option arguments are returned in the array non_opt_args. Optionally check that all mandatory parameters have been specified.
Dictionary of registered key/value pairs
On exit, contains non option arguments
On exit, number of non option arguments
Should we check if all mandatory parameters have been given