Set an exit status based on the test run outcome

Exit with a status of 1 if any errors occurred or tests failed,
otherwise exit with a status of 0. This allows EasyTest to be
integrated into batch processes.
Integrate with Travis CI