Move gems to appropriate Gemfile Groups

Don't install things we don't need in the given environment.

Mainly an attempt to speed up CI builds somewhat:
http://docs.travis-ci.com/user/languages/ruby/#Speed-up-your-build-by-excluding-non-essential-dependencies