Fixed problem in asynchronous validations
Merge pull request #3 from martinell/master

Asynchronous validations don't work if they behave as synchronous functions.