Catch the standard Unix SIGTERM kill signal and do a graceful shutdown of PyBitmessage.

We already do this for the SIGINT kill signal. The change allows us to do a clean
shutdown of PyBitmessage when its process has been separated from the terminal.