Adding validate handler to form API that will integrate with entity validator.

#22
We should try catch all EMW operations.