Continue templating and binding work, almost done

Flesh out the ContentHandler for complex templating of file content
Add methods to track if context changed