update canceled state when a task is canceled and cancel a task only if it is not in a complete state
updating task's __call__() method to respect the canceled state
Merge pull request #759 from pulp/skarmark-cancel-tasks

Skarmark cancel tasks