Adjust ExecutionGraph state machine to TaskManager's failing model (direct transitions to canceled)
Fix header and checkstyle errors