make SpringTemplateLoader support !uri(as URLResource) and uri(as ClassPathResource)