job_coordinator: refactor setup_stage_tasks.

The new function receives a set of outputs, instead of a stage name,
and creates some tasks necessary to consume these outputs.
job_coordinator: cleanup the propagation of save_info and save_results.
job_coordinator: use task_outputs instead of manually computing outputs.
Merge pull request #501 from pooya/jc_clean

Jc clean