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

#22
Also should should probably consider using `entity_form_submit_build_entity` for building the entity appropriately instead of using `$form['#entity']` directly.