Add --only-on-failure command line argument for unit tests
With --only-on-failure only failing unit tests are printed and the unit
test summary on the end. By default it's disabled.