Moved version numbers to gv.py. Implemented automatic revision numbers and date of last commit.