Fix the version number code to use the commit hash.

Now with added git and reduced levels of hg.
Merge remote-tracking branch 'origin/master'

* origin/master:
  Fixed references to Project#name and Institution#name
  Migrated
  Changed ruby version back to 1.9.3