deliver all signals to the event loop, exit at SIGINT and SIGTERM

when zzlua gets an INT or TERM signal, it emits a 'quit' event which causes the
event loop to terminate