Weak signal handler arguments

As discussed on IRC, here's a branch that makes the signal subsystem support weak references to arguments to signal handlers.