TRQ-1842. Make sure the exec_host list isn't null before attempting to read it in acct_job(). Also, fix some of the warnings in the code.
Merge branch '2.5-dev' of https://github.com/adaptivecomputing/torque into 2.5-dev