Added support for composite primary key on findBy methods and Criteria

Hi! 
I tried to implement the matching of entities that uses composite primary keys...

Any suggestion?