Fix Rails 4.1 deprecation warning

It is no longer necessary to require core_ext/class/attribute_accessors
in Rails 4.1.

Closes #976.