Adds a script to show console messages only if the tests fails. Currently when running our tests, there is a lot of noise from console even if everything is fine and the test passes. Sometimes, when testing for exceptions, it might seems like something is failing, when it actually is the behaviour intended for the test.
Also adds CI=true flag to npm run test:coverage script, thus making watchMode false. This is required for further CI usage.