Extend what FactoryFileParser return value represents.

Rather than just having the return of parsing a file be
a workers requirements and path to the executable, we
now also contain extra command line and environment flags.