'render(template, values, **options)
Render the template specified by the given name.
:param template: template identifier
:param dict values: template values to be used for rendering
:param options: used to compile the template (the dict available for the rendering is frozen)
* ``load`` (function) overrides the load method
* ``profile`` (float) profile the rendering (use astor lib) (filter
profile line with time ms >= profile)'

def render(self, template, values=None, **options):

    body = []
    self.compile(template, options)(self, body.append, (values or {}))
    return u''.join(body).encode('utf8')
