Set ActiveRecord and ActiveSupport dependency versions to 3.1