emit events when the worker writes to stderr. Also catch and log kill signals
Merge pull request #4 from c9/stderr_logging

emit events when the worker writes to stderr.