Add template for hovering over the heatmap
Code cleaning
Clean up and use templates

I use a template to generate the hover information as well as cleaning the code
up a bit.
Highlight correct rows and clean code

I did some code cleaning/simplification in HeatMap, this produces some more OO
looking javascript in app.js. In addition, I fixed a bug where I did not remove
the old success class from the table rows. This was due to using the wrong
selector to remove the class.
Loading hovering template earlier and fix no 3D

We load the summary hovering template earlier than we did before. In addition, I
also do nothing in the case of clicking on a row or something with no 3D
coordinates. In this case we want to do nothing to change the displays since
they have no 3D.