Handling kill signal on prompt

Solution for issue #2 
This merge breaks existing API, however, the missing feature can be considered a bug when wrapping linenoise. The KillSignal functionality is essential to linenoise. Users expect to be able to leave with ctrl+C or ctrl+D.
For an example, see examplenoise.