(maint) Add Git SHA1 for HEAD to the version output.

Adding a define in version.h for the current HEAD SHA1.
This allows us to output it for `cfacter --version`.
Merge pull request #194 from peterhuene/version/commit

(maint) Add Git SHA1 for HEAD to the version output.