add rails4 support, teardown rails < 3.1 support

@staugaard @grosser lots of churn here but really the only changes are: ActiveRecord::Associations::Builder::Association.valid_options << :inherit
for rails4+
no else ?