Add SLURM submission support

- Add slurm job template
- Refactor slightly sge/pbs job template to allow uniform submission
- DRY-ify the submission code
3 jobs for feature/slurm-submission in 3 minutes and 56 seconds (queued for 1 second)