[SPARK-2284][UI] Mark all failed tasks as failures.

Previously only tasks failed with ExceptionFailure reason was marked as failure.

Note https://issues.apache.org/jira/browse/SPARK-2285