Adaptation of overriding of where_values_hash

Rails 4.0-stable added a parameter to the method `where_values_hash` (refs https://github.com/composite-primary-keys/composite_primary_keys/issues/185)