Some reorganization. In particular, ErrorHandler should not inherit from
Validatir (even though they share the check method). It is preferable to
decouple the two for now, in case we decide to drastically modify behavior in
future.