Js dsc667

Should fix the freemarker errors for some emails.  Also the docworks import process should now send email correctly
I'm not sure if this is the best way to initialise the TemplateLoader.  The default is just  System.getProperty("user.dir") and calling setTemplateLoaderPath seemed to do nothing, even when given the absolute path.