Fixed the unit tests to work with c++.
Merge branch 'master' of https://github.com/actorquedeveloper/torque

Conflicts:
	src/server/test/job_func/test_job_func.c
	src/server/test/node_func/test_node_func.c
Merge https://github.com/actorquedeveloper/torque
Finished conversion to C++. Committing new configure.ac which
will use the available c++ compiler.
Modified the start up of handle_queue_routing_retries. Previously
each routing queue was given a thread from the threadpool to try
and relocate jobs in its queue to another qualifying queue. This
process had some concurrency problems and also some bugs. The new
implementation gives each routing queue its own routing retry thread
which runs as long as pbs_server is running.
Fixed compile errors in Unit Tests
Added unit test for lock_ji_mutex
Manually merged from the 4.1-dev branch for trq-1461: Missing PBS_variables for some of the moms.
Merge https://github.com/actorquedeveloper/torque