fix typo in slurm cancel state

slurm calls it CANCELLED not CANCELED
use sacct if scontrol couldnt find the job

when a job has been in COMPLETED state for longer than a certain ammount of time,
slurm does not display it in the output of scontrol anymore. Instead it complains:
    slurm_load_jobs error: Invalid job id specified

When this happens, fallback to using sacct which has access to the full history.
updated changelog
Merge branch 'devel'
updated changelog
A check added to prevent infinite loop while detecting shell prompt. A line of code uncommented to avoid preventing shell prompt ref #340
Merge pull request #343 from mehdix/devel

An infinite loop prevention and shell prompt fix regarding #340
slurm cfg
Merge pull request #322 from luis-rr/master

slurm get job state
Merge branch 'master' into devel
bumped version & updated changelog
also communicate rc
Merge branch 'master' into feature/shell_job_notifications
improved notification support

 - fix default session on pty layer
 - allow private workdir for pty shell wrapper
 - cleaner shutdown of monitoring thread