NPE fixes

FreemarkerTemplateProvider and MinifiedContentResource run into NPE in absence of guice bootstrapping