Added a unit test.
Check CXX before CC in order to have the compiler validation checks in
_AC_COMPILER_EXEEXT apply to CXX instead of CC.  This will address the
concerns expressed in
https://github.com/adaptivecomputing/torque/pull/112

Also fixed --disable-gcc-warnings which didn't work at all.

Conflicts:

	configure.ac
added unit test.
Make AM_PROG_AR conditional on its existance.
Added unit test.
Added  unit test.
Merge pull request #114 from kainx/4.2-dev

Check CXX before CC in order to have the compiler validation checks in
added unit test for tree
Fixed a unit test break.

Conflicts:

	src/server/test/process_alps_status/scaffolding.c
Added unit test for u_xml and fixed yet another unit test break.

Conflicts:

	src/server/svr_jobfunc.c
Make the mom be out of memory immune by default.

Conflicts:

	src/resmom/mom_main.c
TRQ-1755: added code to update server structure with timeout value to
eliminate repetitive tcp timeout update messages.
TRQ-1730 Loop over possible jobs until all children of the base task have been killed.
Fix some more unit test issues.
TRQ-1809 code attempted to continue after a failed call to getaddrinfo left a pointer uninitialized causing a segfault.

Conflicts:

	src/lib/Libnet/server_core.c
TRQ-1730 needed to set a pointer to NULL after freeing it.
TRQ-1823 - fixed compiling error (warning taken as an error).

Conflicts:

	src/server/array_func.c
Fix some warnings if you are compiling with --disable-privports.
trq-1810 refactored getaddrinfo and caching.

Conflicts:

	src/resmom/mom_main.c
	src/resmom/test/start_exec/scaffolding.c
Unit test fixing.

Conflicts:

	src/resmom/test/start_exec/scaffolding.c
	src/server/test/array_func/scaffolding.c
	src/server/test/req_runjob/scaffolding.c