Test both ActiveRecord 3 and 4, and Mongoid version 2 and 3.

This needs to wait until a version of mongoid is released that works with ActiveModel 4 due to dependenct issues.