TRQ-2411: print the header only once

- added global variable print_header for indication "need print header"
TRQ-2411: error info prints on bottom of output
TRQ-2411: remove unused comments
TRQ-2828 momctl -q clearmsg doesn't seem to clear error messages permenantly

Fixed a problem in check_state where the local static message
variable would over-write the global message variable for
node health checks in between node check intervals.
TRQ-2831 Make a copy of the dependency jobs before walking so list won't get changed underneath you.
TRQ-2460. Add two new entries to the accounting file.

Add total_execution_slots and unique_node_count to the accounting file.
total_execution_slots is the total number of processors, whether
physical or logical, used by the job.
unique_node_count is the number of unique hosts the job used.
Fix a unit test problem.
TRQ-2411: add unit test for checking get_err_msg; change format of err string

- fix in get_err_msg(): change convertion from int to string
- add unit test
Merge pull request #246 from DSRCompany/trq-2411_qstat_separate_headers

TRQ-2411: print the header only once
TRQ-2736. Fix a host detection issue with pbsdsh/tm interface.

When using pbsdsh, fix assumptions where pbs_mom incorrectly determined
which host was being used. pbs_mom's checks didn't really work if you
are running more than one task per node at a time. This caused hangs
when running pbsdsh utilities.
Commit mods from upstream merge
TRQ-2736 - rework pbsdsh to lookup hostnames from PBS_NODEFILE
rather than polling all hosts.
TRQ-2856 - fix variable name in patch for TRQ-2736.
TRQ-2690: add a warning saying -s and -o should not be used together; else, only the output of the mother superior is shown.
TRQ-2690: Fixed punctuation to prior checkin.
TRQ-2814: changed job_exclusive_onuse to job_exclusive_on_use.
TRQ-2845: Fixed tmp_time math in mom_main main loop

Fixed tmp_time math
Moved the logic to a function
Wrote a unit test

Conflicts:

	src/resmom/test/mom_main/test_mom_main.c
TRQ-2845: fixed unit test.
TRQ-2653: have both /usr/lib64 /opt/intel/mic/coi/host-linux-release/lib as default locations for the MIC libraries; and /usr/include/intel-coi /opt/intel/mic/coi/include for the include file locations.
TRQ-2292: Properly calculate tasks count from nodes resource.