put core at the beginning so other classes can modify the behavior
Move changed_attributes into dirty.rb
Move serialization dirty into serialization.rb
Merge pull request #13799 from kbrock/better_dirty

Better ActiveRecord hierarchy for Dirty and others