Update reports/*.html

- Make use of variables.
- Re-factor to use templates instead of a big for-each.

Could merge common template in reports/common.xsl?