Add cmdline parsing to begin.start decorator

If the decorated function that is to act as the programs main function
accepts parameters, build a command line parser using the results of
parsing the command line with it to call the decorated function.