Use newer path for cattr_* accessors if available.

Rails 4.1 moves the attribute accessors, old location is deprecated.
Merge pull request #274 from ffmike/master

Use newer path for cattr_* accessors if available.