Bunch of stuff to make PDF reports work, including totals in table footer and some styling.
Turn off links in table headers for pdf reports.
Requested tweaks.
Merge pull request #68 from marketboomer/richard

Bunch of stuff to make PDF reports work reasonably well