First draft of template engine chapter

I've added myself to the table of contributors, but I have a few questions about the information we're choosing to present.
Yes. The example is very strange looking Python code. I think that could potentially be off-putting without a reasonable explanation.