Change commit in travis config for ruby-head
Refactor extended hook to be simpler
Add #range methods to comparable modules

* Provide a nicer way to get the range of possible values for a
  comparable type.