Rework how output directories are determined & where setup.xml files are stored.
Merge branch 'devel' of github.com:mariogiov/ngi_pipeline into devel