Use context as dict instead of kwargs in PipelineExtension

A context dict is compatible with both the jinja2 and coffin (django)
tempate interfaces. kwargs is only compatible with jinja2.