Define an APP_VERSION variable when building

The contents of the variable are determined from the environment
variable of the same name, or from the output of "git describe" if the
environment variable is unset, and if the source is in a git repository.
The variable is defined in the "<ImportPath>/app" module.