Separate task result and exit code

In task result we describe whether the task finished successfully, whether there was resource exhaustion, the task timed-out, the task received a terminating signal, etc.

In exit code (which was status, the previous field we had) we describe the exit code of the task executable, or the terminating signal number.