Created new API for scancel. The API sends the jobid to slurmctld
which then kill the job or the job array.