Document compiler

* Document the compiler
* Title the test file
* Add a `demos/` directory with a (at this point very clumsy) example of how to use templates.

/cc @mmun