Add to Criteria support for IN and NOT IN operators in JOIN conditions
e.g. JOIN x ON (x.id = y.x_id AND y.foo IN (42, 51))
Use Criterion always when possible
Using Criterion allows to bind values in statements.
You can't use Criterion only for strings because in this method
you can't distinguish if it is a table name or value provided by user.
Additional assertion to ensure binding params doesn't change actual result
Add test for ModelCriteria to prove it support IN operator in JOIN conditions