Add metadata validation in script

This PR will validate `metadata.json` at the end of the Travis CI check.

It also makes the Travis CI output clearer, and checks all tests (validate, lint, spec & metadata) even if one fails (but the status will be fail if one fails still).