fixes #704 - provide an 'exit' tester event to hook before runner exits

casper.test.on("exit", function() {
  console.log("exited");
})

casper.test.begin("sample", function(test) {
  test.assert(true);
  test.done();
});

will print "exited" on the last line of the output.