Slurm integration

Merging SLURM integrations into original integration branch for resource manager transition.