Initial support for signal handling.
Integrating signal handling with the reactor.

- Provide a termination handler for nocontrol.
Rewriting signal propagation.

- Fix a bug where signals can be missed if they
  occur with any frequency.
Updating the listener interface.