Refactor: libcrmcommon,crm_mon: make crm_signal() return previous handler
... so crm_mon can use it instead of signal(), which is considered non-portable
for this purpose.
While we're at it, improve crm_signal() log messages, and move crm_mon's
handling of HAVE_SIGHANDLER_T to mainloop.h where it can be of more use.