Add support for Mongoid4, drop support for Ruby 1.8.7.

I think it's time for Ruby 1.8.7 to go.

Simplified testing so you don't need a separate Gemfile for each release. We still need a config.yml for mongoid though that's different in different versions of mongoid.