Add Rails 4.0 to the Gemfile.

Now that it's released, it should be in here. We also exclude the rubies
that don't make sense.