Added a signal handler class (capable of state tracking).
Added a signal handler class (capable of state tracking).

The state-tracking bit allows the class to provide useful data for non-signal
exits like ^D.

oubiwann/myriad-worlds