Add 'accepted' handling to support better feedback for agent related tasks.
docstring.
Revert changes to support Task.state=None.
Merge pull request #847 from pulp/jortel-US2592

Add 'accepted' handling to support better feedback for agent related tasks.