Capture sigterm to kill hadoop jobs when worker is terminated
Generalizes exit code for captured signals
Merge pull request #242 from daveFNbuck/master

Capture sigterm to kill hadoop jobs when worker is terminated