Set error messages for callables

This changes in Form_validtaion will let the use of callables as described in  #3183 using them as real rule validators. It has retrocompatibility, so it still will be possible to use the callables as they were previously defined.