Clean up page-template.html

- Be careful not to use @vars in HTML comments.
- OK to use `when` instead of `if`: void = "".
- Indents.
Change a comment.
Use for in-dict instead of hash-map
Use xexpr->string/pretty
Indent
Add UPGRADE.md to help people upgrading from 0.2
Version 0.3