Fix detection of failures in jasmine2-runner.js and log output to console