Change the rest of QUIT and TERM signals.

This will restore graceful shutdown of workers by master.
Also worker_int callback is moved from handle_exit (INT and TERM before switching) to handle_quit(INT and QUIT).
Merge pull request #786 from zeezooz/fix_signals

Change the rest of QUIT and TERM signals.