fix #377: slurm adaptor now stages the submission script,
thus removing the need for quoting.
This commit also fixes a exit_code type problem on failed jobs.