* Use mkstemp() to create the temporary credential file instead of
  using a filename based upon timestamps.  We had tens or hundreds of
  munge auth failures per day when using the timestamp-based temporary
  credential file names due to the fact that they were not unique.

* Make daughter routines of req_altauthenuser() return PBSE_* codes.
  Replace req_reject() calls in these routines with log_err() calls
  using the aforementioned PBSE codes.  Add log_err() calls in these
  routines for additional error conditions for complete coverage, so
  we can actually tell from the server log what exactly went wrong if
  a munge auth attempt failed.  Call req_reject() once in
  req_altauthenuser() instead.

* Use non-blocking I/O for reading the munge credential in
  pipe_and_read_unmunge().

* Don't delete the credential file if there was a problem unmunge-ing
  the request.
Merge pull request #236 from craigprescott/4.2-dev

Munge auth: credential filename uniqueness, improved error logging
TRQ-2408 scan_for_terminated needs to be on its own thread.

We were able to solve this problem without putting scan_for_terminated
on its own thread. We modified scan_for_terminated so it would not
update every job each time scan for terminated had been called. It
now only updates jobs that are finished and it only updated finished
jobs one time.
Fix a regression with job usage information not being passed to the epilogue.
TRQ-2682. Fix a crash as well as a deadlock scenario.

I'm not sure that the deadlock scenario I'm fixing is the one for TRQ-2682 but it is
possible.
TRQ-2646: fix is to escape the ; if it's not being escaped in the text portion following "x=" before passing them to the torque's filter.
TRQ-2646: Improved prior checkin.
TRQ-2759. Fix a problem with cput getting cut off.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
TRQ-2730. Make nvml and numa-support configurations work together.

The admin can now specify in the mom.layout file which gpus belong on each node board,
making it so the configuring with nvml won't claim that each node board has every gpu.
Fix a unit test complaint.
Merge branch '4.2-dev', remote branch 'upstream/4.2-dev' into 4.2-dev
TRQ-2367. Synchronize access to a global job accounting variable.
TRQ-2732: torque is leaving behind error and out files when a job is preempted or requeued.
TRQ-2676 - Merge fix from UFL for mismatching protocol messages.
Changes to allow merge with upstream/4.2-dev