Better child killer

This is improved process handling, borrowed from the latest resque source.

Please review, @proby or @benkirzhner or @brenfrow.