Make breakdown output more readable

Use spacing and some typographical variation to make the breakdown
output easier to read.

Change-Id: I40e07441588f9854c527b8239ed288512e4b8ad0
Reviewed-on: https://gerrit.causes.com/24903
Reviewed-by: Greg Hurrell <greg@causes.com>
Tested-by: Greg Hurrell <greg@causes.com>
Show commit details on clicking "Details" button on commit stats page

I originally had this inline as an accordion, but it increases the table
row height in an unpleasant way, so sticking it in a modal instead for
now.

Change-Id: Ie60503493260b7af9b3ba4ffd41a2b06d1718b25
Reviewed-on: https://gerrit.causes.com/24905
Reviewed-by: Greg Hurrell <greg@causes.com>
Tested-by: Greg Hurrell <greg@causes.com>
Allow modals to be closed with Escape key

As per this suggestion:

  http://stackoverflow.com/questions/12630156

Change-Id: I62177fd11814442013b4ccb32adc40ac5e0ecaa4
Reviewed-on: https://gerrit.causes.com/24906
Reviewed-by: Greg Hurrell <greg@causes.com>
Tested-by: Greg Hurrell <greg@causes.com>
Escape commit message HTML

As per the FAQ:

  http://www.sinatrarb.com/faq.html#escape_html

we have to roll our own `h` helper if we want to escape in views.

We could also use the Haml `&=` syntax, but that is a little less
flexible, operating as it does on an entire line at a time.

Change-Id: I01c21cacac393cb3b2b50eb73171e5a63e3077c0
Reviewed-on: https://gerrit.causes.com/24907
Reviewed-by: Greg Hurrell <greg@causes.com>
Tested-by: Greg Hurrell <greg@causes.com>