Add SetCtrlCAborts

SetCtrlCAborts can be called if the application wishes Prompt to abort
with an error when the user presses Ctrl-C (instead of restarting the
line input).

Inspired by pull request #30