include QueryMethods in ActiveRecord::AssociationRelation as well, for chaining. Fixes chaining issue mentioned in #303.