Fixed pam_pbssimpleauth.c to accept jobdir=<jobdir>

If 'jobdir' is specified in pam configuration, pam_pbssimpleauth.c previously copied the string 'jobdir' over the compile-time default value of PBS_SERVER_HOME '/mom_priv/jobs'.

This change fixes it to copy the path part of a 'jobdir=<path to jobs>' pam configuration option in, for example, /etc/pam.d/password-auth, of the form:

account     required      pam_pbssimpleauth.so jobdir=/var/spool/torque/mom_priv/jobs
Fixed a problem where SIGPIPE could terminate trqauthd.
TRQ-2252. Patch submitted by Matt Ezell
TRQ-2208. Stop the mom from using trqauthd to authenticate its connection when checkpointing a job.
Attempt to fix a unit test problem.
Fixed a memory lead in do_tcp where we allocate with
DIS_tcp_setup every time but we do not clean up
each time. the return value of DIS_tcp_setup is
not used by any calling function to do_tcp. do_tcp
needs to free the variable by calling DIS_tcp_cleanup
each time. TRQ-2253
Fixed a memory lead in do_tcp where we allocate with
DIS_tcp_setup every time but we do not clean up
each time. the return value of DIS_tcp_setup is
not used by any calling function to do_tcp. do_tcp
needs to free the variable by calling DIS_tcp_cleanup
each time. TRQ-2253
Comment and variable naming cleanup for TRQ-2208.
Merge pull request #186 from loz-hurst/master

Fixed pam_pbssimpleauth.c to accept jobdir=<jobdir>
Fixed a series of segfaults caused by freeing
memory after calling tm_request from do_tcp too
soon. TRQ-2256
Merge branch 'master' of https://github.com/adaptivecomputing/torque
trq-2242 instead of walking every job seeing if it has an AFTERANY dependency on the job being deleted, look for any BEFOREANY dependencies in the deleted job and use that to find the AFTERANY dependencies and delete them.
Fixed a broken unit test.
Fix TRQ-2263: pbs_mom Alps protocol 1.2 reservation release COREDUMP.
Merge branch 'master' of https://github.com/adaptivecomputing/torque
TRQ-1785 - mom not correctly setting up cpuset dir for Torque. mom now
handles case where torque cpuset has empty cpus and/or mems files
at mom startup (torque cpuset is rebuilt.) Also fixed problem where
Torque would not compile when using --enable-libcpuset.
Fixed Unit Tests for qstat
Fixed a memory leak when removing job usage information from
a node when a job is complete. TRQ-1599
Fixed a memory leak in set_nodes where host_info was not
getting freed. TRQ-1599
TRQ-2070. Wrap trqautd's call to getpwuid() in a retry loop to account for transient failures. We've done this other places as sometimes LDAP servers fail transiently with legitimate calls.
Help resolve a conflict in the first commit for TRQ-2124. There are a series of check-ins for this ticket.