add some comments+diagnostic output at start

also adds a Makefile hook to print the git version
and build-date