Pass options and args to tasks

When both @cmdopts and @consume_nargs are used, the options *before* the
args are parsed by the tasks's parser and given to it.
Merge pull request #126 from cecedille1/master

Pass options and args to tasks