Refs #5377 - adding task example and fixing canceled tasks
Merge pull request #4083 from jlsherrill/pulp-2.4

Refs #5377 - adding task example and fixing canceled tasks as showing failed