Source profiles in detaching tasks, for cylc version selection.
Merge pull request #622 from hjoliver/detaching-task-source-profile

Source profiles in detaching tasks, for cylc version selection.
Merge branch 'master' into 562.nuke-configobj

Conflicts:
	lib/cylc/job_submission/jobfile.py