Added CYLC_VERSION to the transplantable environment for detaching tasks.

This commit also tidies some comments in the job script.