#160. Added a new validation handler function _image_field_form_validate() during image_form_alter() and moved the file create resource from _image_field_form_submit() over to _image_field_form_validate() so the file id can be properly set before form submission.