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


Also added inline doc for each TaskEndReason.
super nit: needs -> need