Rudimentary support for handling C++ exceptions

Turning them into NP events with stack traces, and failing the test.
This implemention is not really production worthy yet.