Add task termination status to result
Adds signal, resources exhaustion and task timeout as results
Changes status to exit_status at worker
Report task_status in result
Merge pull request #535 from btovar/separate_task_result_exit_code

Separate task result and exit code
Add missing header.