[SPARK-2286][UI] Report exception/errors for failed tasks that are not ExceptionFailure


Also added inline doc for each TaskEndReason.
I can do that if we are not going to backport this into branch-1.0. I think we should though ...