Add implementation for job termination endpoint

Fixes #48
Merge pull request #53 from cjh1/job-terminate

Add implementation for job termination endpoint