build: create poni/version.py by default + some cleanups
template: make render_name's escaping behave like cheetah's

render_name used to handle double escapes (escaping escapes) but left the
escapes intact in the rendered output.  Removed the escapes from output and
made it behave like Cheetah which handles the single escapes in front of a
dollar-sign, escapes can't be escaped.

Also added a few test cases to make sure render_name and render_cheetah
behave identically.