Read ruby-build revision from git if available

But don't assume that RUBY_BUILD_ROOT is where ruby-build's own files
reside, since RUBY_BUILD_ROOT can be overriden with alternate definition
files location.
Merge pull request #612 from sstephenson/git-revision

Read ruby-build revision from git if available