Check the current commit of the project source code

Knowing which commit is being built and if there is any local
modifications to it can be of great help to pinpoint build problems.
Report version hash when building

This will reduce the number of "which version are you using"-replies
because this can now be found in the log.