Reworked doT template location to be inside <script> tags instead of inside javascript functions.
The primary reason for this was because of warnings that function.toString may strip comments in
some browsers. This should be more robust. A side benefit is that syntax-highlighting editors now
colour the template html, since it is no longer inside a JS comment. A downside is that the templates
are now in the page html file, since html does not have a client-side #include.