added MERCURIAL_REVISION_SHORT environment variable
Cleaned up based on pull request feedback
Merge pull request #42 from timgifford/revision-short

added MERCURIAL_REVISION_SHORT environment variable