Merged from 4.1-dev for trq-1484 - better logging for pbsdsh.
Merge branch 'master' of https://github.com/adaptivecomputing/torque