TRQ-2691 - coverity issues

Fixed bugs for coverity issues 1216413, 1316401, and
1216412.

Conflicts:

	src/resmom/mom_server.c
TRQ-2707: qsub passing arguments to submit filter all together with interactive jobs.
MOAB-7165 - Filter Compatibility QSUB - MSUB behave differently on Interactive Jobs. Had to escape the ; in the string that MOAB sends to qsub because if you had a read statement in the torque submit filter, it will cause it to hang as ; is a statement separator.
TRQ-2738 Coredump in PBSD_QueueJob_hash

We were trying to dup a NULL pointer even though
we already checked to see that it was NULL.

Conflicts:

	src/lib/Libifl/PBSD_submit_caps.c
Merge remote branch 'upstream/4.2-dev' into 4.2-dev