Add ruby head and rbx-2 to the Travis config.
Add a convenient .ruby-env for the example scripts.