Fix lang.py to use the new version/build fields.
Set/use the commit_id attr.
Merge pull request #286 from whirm/auto_version

Fix lang.py to use the new version/build fields.