Add SIGINT handler

When we CTRL-C from a foreground redis-server, it should shutdown cleanly instead of just exiting immediately.

The slightly obtuse switch statement in the signal handler preserves the original log output.