Print alive objects on SIGINT, SIGTERM, SIGABRT and SIGSEGV

To try and make debugging leaks at termination or crash time easier.
Merge pull request #4 from pwithnall/sigint

Print alive objects on SIGINT, SIGTERM, SIGABRT and SIGSEGV