Fix a regression in passing signal arguments in SignalHook.
Review Request #6580 — Created Nov. 12, 2014 and submitted
The recent sandboxing of SignalHook broke the passing of arguments to the callback. This fixes that by passing kwargs, and adds a unit test to ensure it doesn't break again.
Unit tests pass.