Include revision and commit hash to the version if available.
Rewritten qcma.pro file.