Allow multiple templateLoaderPaths to be configured for FreeMarker

Closes gh-1767