Fix allow_mass_assignment specs in Rails 4

This spec has a lot of active_model version checking in it. The version
checking helpers had to be updated to account for Rails 4.

I was able to remove the check for active_model 3.0 because 3.0 is now
the lowest supported rails version.