Take cylc-suite-env write out of task jobfiles.
Finished deprecating CYLC_SUITE_REG_NAME
Create suite env parent dir if necessary.
Get proper PID for local and remote background jobs.
Merge pull request #425 from hjoliver/reimplement-cylc-suite-env

Reimplement cylc suite env file write