Propagate version info into salt config and use to build.

Fixes #1043.
I'll add a comment in build-go.sh around this.