Fixes #143

Added a PredicateSelector which makes it easy to use lambdas as Selectors.