address the problems with version.config missing in the tarball, and the scripts directory.
do not call scripts/configure.cs in the tarball, because it tries to resolve the version from the git history
fix previous commit, need to escape dollar signs in makefile
improvement: the valid buildinfo file is now copied to the tarball
put the buildinfo file into the top srcdir of the tarball.
the buildinfo target should check if that file exists in the top srcdir, and copy it, or generate with the configure.exe from scripts directory, if the file does not exist yet
explicitly generate buildinfo during make dist;
fixing problems with comments in Makefile, caused by my previous commit
Merge pull request #565 from tpokorra/TarballVersionConfigIssues

make dist generates a broken tarball: buildgen fails, and version.config is not found