Added a validator that can require one or more fields based on the value of another field.

We use it in our own code, thought it could be usefull to others.

merge plz