fix in join statement construction for toMany relationships
use SELECT DISTINCT when given NSPredicate with NSAnyPredicateModifier
Merge pull request #35 from raho/master

implementation of join statements for predicates operating on toMany relationships