Fix Rails 3.2 gemfile for Ruby 1.8, remove Rails 4.0 test

With the release of 4.2.0, this 4.0 tests are far enough behind that we don't have to test that version specifically anymore.