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

Done. I have also corrected mapreduce.js