Fix swf.executor #15: keep the state of an activity when it is scheduled again

When parsing the history, the value of `retry` was reset for each execution of a task. It is now kept.