Apply a concept of "Code Complete".
pbs_mom redhat init scripts should use the pbs_mom lock file as pid file
for status checking
Added job id to log err statement in lock_ji_mutex
Revert "Added job id to log err statement in lock_ji_mutex"

This reverts commit f9b7d03d04abb55cc7fc2f57040cd5aadce2aa69.
Fixed Coverity issue 1147771. Write to pointer after free
in req_modifyjob for the asynchonous case. TRQ-2424
Fixed Coverity issue 1147770. We were reading a variable after
it had been freed in get_next_retryable_jobid.
Added fixes for Coverity bugs 1147764, 1147765 and 1147766.
rc was possibly used uninitialized in each of these cases.
TRQ-2424

Conflicts:

	src/server/track_alps_reservations.c
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Added fix for Coverity bug 1147759. Possible reference
to out of scope variable. TRQ-2424
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Added fix for Coverity bug 1147759. Possible reference
to out of scope variable. TRQ-2424
Fix a bunch of coverity issues.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Fixed coverity issues 1147702, 752782 and 752780. These were
cases were a function had a mutex locked but had a place
where the function exited without unlocking. TRQ-2424
Fix some more coverity issues.
Help the cherry-pick for the unit test regression caused by coverity changes.
Merge pull request #208 from stdweird/4.2-dev

pbs_mom init scripts use the pbs_mom lock file as pid file
fixed Covertity issue 1147704. We were checking to see if an
array was null instead of checking to see if the first element
was set to 0. TRQ-2424
 Please enter the commit message for your changes. Lines starting
Added fixes for Coverity issues 1148456, 1148455, 1147707, 1147706,
1147697, 1147696 and 1147699.  TRQ-2424
TRQ-2396. Fix some problems around the cleanup of heterogeneous jobs. Also fix their files being mis-named on the moms.