Added a new submit-retry task state.

Functionally equivalent to execution retry, but useful nonetheless.
Merge branch 'master' into submit-retry-task-state
Merge pull request #619 from hjoliver/submit-retry-task-state

Added a new submit-retry task state.