Update to work with ActiveSupport 4.1

ActiveSupport version 4.1 has moved the class_attributes module to another location.