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

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

I will submit a PR later to consolidate the error reporting (right now we have some pretty convoluted error reporting in the UI).