FIX: validation result should be WARNINGS on errors.length === 0
Merge pull request #429 from rpl/fix_warnings_mark_invalid

FIX: validation result should be WARNINGS on errors.length === 0