cleanup Gemfile

Everything should work exactly the same. I moved a couple gems into the test
group because they don't seem to be used in development, and otherwise reorded
everything so the list is alphabetical.
update Travis to use latest Rails maintainence releases