Add handling of Ctrl-C and Ctrl-Z as signals

It may be not best way to handle Ctrl-C and Ctrl-Z as signals, may be raw mode configuration could be different?

See also https://github.com/antirez/linenoise/issues/74