Use newer path for cattr_* accessors if available.

Rails 4.1 moves the attribute accessors, old location is deprecated.