factor signal handling out into its own class
use CTRL-BREAK to emulate SIGTERM (clean shutdown) on windows
note INT-related failing tests on windows
- to get them working, probably requires http://bugs.python.org/issue18040
- as well as something like _USE_CTRLC_FOR_SIGINT similar to the existing _USE_CTRLBREAK_FOR_SIGTERM