Add a shortcut for getting error message of validation
Merge pull request #1536 from hackoh/1.7/add_get_messages_to_validation

Add a shortcut for getting error message of validation