slurm kill and poll methods added.

@hjoliver I followed your proposal and splitted the proposed changes. First the slurm add ons.