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


Also added inline doc for each TaskEndReason.
Want to rename this while you're at it? (It's developer API)