Prevent agents from making nonsensical task state updates
To both make bugs like ponos-agent#25 more visible and avoid sending process completion emails when a completed task is updated to a completed state again, we should enforce a state machine just like in UpdateWorkerActivity
.