(ThubanApplication.OnInit): set the python exception hook here so that we are sure to catch any Thuban exception that happen during initialization.