implement /tasks REST endpoint

Implement a `/tasks/[cluster]/[jobid]` endpoint. Piggy backed what's already there for filling in task details to `JobDetail` objects.