Support custom definitions integration in ruby-build, again.

Reverts parkr/ruby-build-github#5, re-implements #4.

Show-stopping bug in the way `--list` works, so these instructions will have to wait: https://github.com/sstephenson/ruby-build/pull/625