Special handling of signals for cf-key.

Handle SIGINT and SIGTERM to set gobal flag that makes the
ShowHost callback return false, thus causing ScanLastSeenQuality break
out of the while loop and return cleanly.
Thanks for the details - Windows is the obvious first suspect for any POSIX infelicities, so knowing what to do about it is a huge advantage - thanks.