Allow git-controlled version numbering.

gen_version.sh will make a version_git.go file which will be included
with the has_version build tag.

This is primarily to be used by the "official" build process.

cbugg: close bug-470
Regexp check for bad bucket name.