New git cvars

New cvars are being added:
* 'git_ref' shows up refspec name taken from local git repo
* 'git_hash' gives you the commit hash in plain SHA-1 form

These cvars are only available if the source comes from a git repo.