DISTS: Add .gitignore file

It contains some MSVC generated files, as well as an auto-
generated file containing the git version number (for non-
autotools builds, i.e. MSVC)