jobstart: Add optional {flags} parameter.

Allow v:job_data[2] to be a string or list, unbuffered or not, depending
on the arguments to jobstart().

fixes #1574