TRQ-1608. Fix a deadlock due to the reroute_job_mutex not being used properly in the hierarchy. The locking order should be reroute_job_mutex, then the all_queues, then the queue.
Fixed a problem where jobs in a routing queue no longer
route if pbs_server is restarted. TRQ-1597
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into actorquedeveloper-4.2.0

Conflicts:
	src/server/job_route.c
Make 4.2.0 able to run make distcheck again so we can build. There's an idea.
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0
Change queue_route to match 4.2.0 on adaptive repo.
Fix a compile error and restore some code that got deleted by a merge.
Finish merge of adaptivecomputing/4.2.0 to actorquedeveloper/4.2.0
Removed conflict comments from src/lib/Libdis/Makefile.am
Force linkage with C++ compiler.
Merge pull request #44 from kainx/4.2-cxx-link

IMPORTANT:  4.2.0 C/C++ Linkage Issue
Fixes to configure.ac and src/lib/Makefile.am
Merge branch '4.2.0' of https://github.com/adaptivecomputing/torque into 4.2.0
refactored queue_route
After merge for queue_route from actorquedeveloper to adaptivecomputing
the queue_route function was not quite right. They now match.
Resolve some merge conflicts after syncing with adaptivecomputing.
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into actorquedeveloper-4.2.0

Conflicts:
	src/Makefile.am
	src/server/job_route.c
TRQ-1614. Make sure we don't start a poll_job task for jobs that aren't running and make sure it doesn't get started for array summary jobs.
TRQ-1604. Get enable-drmaa compiling with g++
Fixed a problem where jobs for multiple nodes would get
stuck in a running state. TRQ-1465