add escaping for template tags

allow template tags to be escaped: `\{\{NAME\}\}` will render as `{{NAME}}`