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, no more `:condition` option in rails 4.  and the merging of conditions is tested elsewhere.