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

#22
Maybe `entity_validator_validate_entity_form`?