Generalised signal handling

Extracted signal handling logic from the Signal.trap blocks as a first
step towards making the signal handing reentrant
Making the signal handling reentrant

Using the method outlined here:
http://www.sitepoint.com/the-self-pipe-trick-explained/ I've made the
signal handling reentrant
Bumping version
Trying to inline and simplify start/stop worker
Tracing broken pipe error...
Ignoring some exceptions when writing to pipe
EINT doesn't exist?
Trying EINTR...
Attempting to get rid of broken pipe syndrome
Process signals after the master has been woken up
Trying to figure out why pipe breaks
More output...
More output
More output...
More shit
Making sure the worker never raises when performing
Trying to let the master wait with processing signals
Removing rescue
Removing puts...
Readding stop notice