Get CPK running on active record 4.1
Fix up create, some changes for update.
Fix join association on Active Record 4.1.x

Update the overridden build_constraint method to match changes made in
Active Record 4.1.0.
Loosen constraint on 4.1.0.rc2 to be >=4.1.0.rc2
Fix DEFAULT_ENV

DEFAULT_ENV moved from ActiveRecord::Base to
ActiveRecord::ConnectionHandling in 4.1.
Merge pull request #189 from simonsouth/bug/fix-join-association-on-ar-4.1.x

Fix join association on Active Record 4.1.x
Update dependency to 4.1.0

Specifically:
  'activerecord', '>=4.1.0'
Merge pull request #194 from justin808/ar_4.1.x

Loosen constraint on 4.1.0.rc2
Update for changes to ActiveRecord::FinderMethods#exists?
Update PostgreSQLAdapter#last_inasert_id for railsx 4.1.0
Update JoinDependency#instantiate for rails 4.1.0
Update Associations::Preloader::Association for rails 4.1.0
Fix breakage from 74daa9a6

We still need to look for top level equalities as well as ones
inside an And in case there is only a single key component.
Fix more breakage from 74daa9a6

Some local variables were removed which we need.
Merge pull request #202 from tomhughes/ar_4.1.x

Various fixes for 4.1.x support
Update gem specs requirements.
Fix update queries.
Update tests to always find ids using arrays.
Fix up limits on associations, modernize cpk predicates.
Fix up test of or predicate.