Validation returns a promise

Bonus: We can get rid of `setTimeout`
Merge pull request #8 from josepjaume/validate-returns-promise

Validation returns a promise