Allow the caller to specify the goal node when parsing a string via the
new parser. This enables parsing either a job list or an argument list.
Support for error detection in arguments in new parser. Restores error
reporting for bad arguments (e.g. with bad variable names)