TRQ-1053 mom leaving jobs on node.
Fixed a unit test.
Merge branch '4.1-dev' of https://github.com/adaptivecomputing/torque into 4.1-dev
Fixed unit tests.