hookup to casper error events so we can fail mocha tests