CDAP-652: updated Spark job UI to display the collected metrics in blocks

fixed.