Fix SPARK-629: weird number of cores in job details page.
Fix wrong closing tags in web UI HTML.
Fix SPARK-630: app details page shows finished executors as running.
Merge pull request #597 from JoshRosen/webui-fixes

Two minor bug fixes for Spark Web UI