add rerun test events to engine

Sends ["rerun_passed_test_files"] and ["rerun_failed_test_files"] events - it simply passes the event on to the clients.