Run observable validations when observable change.

* Also adds a configuration to allow the validation to run only on input
changes, if desired.