much simpler code to find sources and add them to newFlow
factor out into 'localizedFlow()', make repl jobs take an optional FlowDef
implement writeAndRun

this automatically runs the localized job and returns a TypedPipe to a new Source of it