Adds a version line based on a file named 'version.py' to each git commit message if not already present.
Adds a gerrit-friendly Change-Id line to each commit message if not already present.
Adds both gerrit-friendly Change-Id and Version line to each commit message if not already present.
Checks 1) that version.py has been incremented since last commit and 2) that version.py is staged for the upcoming commit.