fxed Coverity resources leaks. CID 1187601, 1187600,
1187599, 1187598, 1187596, 1187595.

Conflicts:

	src/server/array_func.c
oops. Previous cherry-pick not valid. std:string does not
leak memory.
fixed Coverity issue 1187592. Resource leak
Fixed Coverity issue 1187592. Resource leak
Merge branch '4.5-dev' of https://github.com/adaptivecomputing/torque into 4.5-dev
Fixed Coverity issue 1187589. Resource Leak
Fixed a problem where threads would not exit when idle. This would lead
to an overall large memory size for pbs_server. TRQ-2498

Conflicts:

	src/lib/Libutils/u_threadpool.c
Merge branch 'develop' of https://github.com/adaptivecomputing/torque into develop