Remove 1.8.7 + Rails 4 support from this branch

Ruby 1.8.7 is no longer supported, so stop using it. (Please)

Rails 4 support is over in the rails-4 branch. All Rails 4 specific code belongs there.