Move `attributes_before_type_cast` to `AttributeSet`
Merge pull request #15846 from sgrif/sg-attributes-before-type-cast

Move `attributes_before_type_cast` to `AttributeSet`

Conflicts:
	activerecord/lib/active_record/attribute_set.rb
	activerecord/test/cases/attribute_set_test.rb