cylc hold: fix spawned tasks not held
Remove an unnecessary bad statement
Remove the logic to parse the standard output in sge poll and trust the return code of qstat -j JOB_ID. Fixes #1176
Pipe away standard output from check_call in SGE poll. Fixes #1176
Merge pull request #1178 from matthewrmshin/remove-bad-statement

Remove an unnecessary bad statement
cylc gui: add subgraphs icon text
Merge pull request #1180 from benfitzpatrick/cylc-gui.subgraph-icon-text

cylc gui: add subgraphs icon text
alter name
Merge pull request #1179 from benfitzpatrick/fix-held-states-spawn

cylc hold: fix spawned tasks not held
Merge pull request #1181 from dmanubens/sge_job_polling_problem

Sge job polling problem
Improve job submission

Job file now contains all the information for submitting a job.

Job file now sources `$HOME/.cylc/job-init-env`,
`$CYLC_DIR/conf/job-init-env.sh` or
`$CYLC_DIR/conf/job-init-env-default.sh` on initialisation. This allows
the job environment to be globally configured for site or user.

cylc job-submit: new command for job submission. Write job submission
method and job submission method ID to job status file. Use Python to
control submission of a background job. Job submission method classes
now have methods to submit a job file instead generating a job
submission command.

Job status file now contains all the information for job poll and kill
to work.

cylc job-kill: now take only the path to the status file as an argument.

cylc job-poll: renamed from `cylc get-job-status`. Now take only the
path to the status file as an argument.

New global configuration `remote copy template`: configure the `scp`
command for copying files to remote hosts.

Global configurations `remote shell template` and `use login shell` are
now used for job submission.

New global configuration `cylc executable`: configure the command to
invoke the `cylc` command on remote hosts.

New global configuration `suite to job environment`: configure a list of
environment variables that can and/or needs to be passed from a suite to
its jobs.

cylc.job_submission.jobfile: re-ordered methods to follow the flow of
the job script.

cylc.remote: use new global configuration.

PEP8 checked for various modified Python source files.
More comments on background job submit
cylc submit: fix job ID reporting logic
Basic tests for `cylc submit`

Test normal submit via `background` and `at` on localhost, a remote host
with shared file system and a normal remote host.
Basic `cylc submit` test for loadleveler
Fix `cylc submit` remote tests
Fix `cylc submit` tests tidy logic
Improve names
Support global initial scripting

Also renamed `extra job environment` to
`copyable environment variables`.
Use constants for useful job file lines

Fix comments and typos as well.