Add VersionName macro

There's a lot that could be fixed and cleaned up here, but I went for minimal change to get it working.

The macro is a trivial swap; the JavaScript was tested on a locally-downloaded page.

@tfoote
Should this template contain a placeholder inside the span, e.g. `DISTRO`? This would make it fail more gracefully if js fails somehow to fill the text.