feat:(docs) add version.json generation to build process

As per discussion with @ThomasBurleson, made the URL point to the code at the specific commit instead of the commit's page.

Also, doesn't touch `docs/app/version.json` to avoid making the repo dirty, instead only modifies `dist/docs/version.json`. Template / URL may be edited still by editing `docs/app/version.json`.