Improve ValidatingFunctionSupport

- add preAndPostValidate method
- change order of arguments of postValidate method