fix for templates in resources and loading of taglibs into freemarker from classpath