Bug fix for SLURM qadapter.

Old code is badly written and presumes the output from sbatch command is simply "Submitted batch job XXXX", when some systems the sbatch can have some other output. E.g., stampede output has some header.