Check return code from validator rather than grep
Merge pull request #165 from STIXProject/fix-travis2

Check return code from validator rather than grep