Include `attr_accessible` only when required

For ActiveRecord < 4, we should only include `attr_accessible` if the `strong_parameters` gem is not in use.  When ActiveRecord >= 4, we should never include it, unless `protected_attributes` is in use.