[RFC] job: Add optional {flags} parameter.

fixes #1574
Also we need to note that "last one wins", e.g., `'ub'` means "buffered".