Added missing license headers to freemarker templates.