Adding flag for templates

Added extension flag EXTENSION_PASSTHROUGH_TEMPLATE_ACTION. If set, an inline function, templateAction, is added that ignores any text in between `{{` and `}}`. This is useful for `text/template` and `html/template`.