added method to extract error messages from validation result and return them as a ruby hash
Merge pull request #1 from pirvudoru/get-formatted-errors

added method to extract error messages from validation result and return...