Added validate-when
Added generic predicate validator
Rename validate to validate-with-predicate
Merge pull request #23 from scttnlsn/predicate

Predicate validation