add the possibility to dump pSim events
if enabled, events are *always* dumped: only for understanding crash causes.
Authored by: thibautd 2013-12-19
Parent: [r27268]
Child: [r27270]