Fix context not being passed to template correctly
Add TemplateEngine::template, move some things around
Add initial work for variable dumper