Merge pull request #5 from juanfran/master

fix onlyOneErrorElement option
Version 0.6.0
fix custom validator