Produce multiple types of report from one analysis

The -t option may now be specified multiple times, allowing both an
XML report and an HTML report to be produced at the same time.
Merge branch 'SMA-3'