Removes rails dependency

The gem only really depends on activerecord, so we don't need to require
the entire rails dependency chain.
Merge remote-tracking branch 'origin/remove-rails-dependency'
Remove class_attribute dependency