Use HTML::Template dynamically.

  This means we'll be able to print a pretty error-message if it is
 missing, rather than simply aborting.