Safeguard against child running parent signal handler

There may have been a potential for a forked child to receive
SIGSEGV or similar even though signals were masked, and run
the parent's signal handler code which could have dire
consequences.  Safeguarded against this by checking getpid()
in all signal handlers and aborting if not the parent.

fixes #42
Updated ChangeLog