infra: move script 'gen_config.pl' to scripts/

Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>
infra: Makefile.dist include GIT HEAD in DISTVERSION file

Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>