bug912498 - update nunjucks and add safe filters

https://bugzilla.mozilla.org/show_bug.cgi?id=912498