rename method SetHourWindow to silence compiler warnings
Fix unintended sign extensions detected by Coverity.

Coverity 700703, 700704, 700705, 700706, 700707, 700708, 700709,
700710, 700711, 700712, 700713, 700714, 700715, 700716, 700717.

Most likely, the uses of "unsigned long" in the code should be changed
to uint32_t (or less likely, uint64_t).
MythZMServer: close the map files when a connection to the server closes

Make sure any mmap files opened for a connection are closed when the connection
using them closes. Also make sure all ZMServers  are cleaned up properly before
exiting the server now the server can be asked to quit.

This fixes Coverity ID 703768 Resource leak
Fix Coverity 700818. Uninitialized pointer field. Non-static class members are not initialized in this constructor.
Fix coverity 1026714. Modulo by zero. In fact an operator precedence error, fixed by applying brackets in the correct place.
Fix Coverity ID 1030341 Logically dead code

In TV::timerEvent(): Remove the duplicate handled check.
VolumeBase: Fix Coverity ID 700796 Uninitialized scalar field

In VolumeBase::VolumeBase(): channels field is not initialized by the
constructor.
Fix Coverity 700330. Logically dead code. It's redundant to delete a pointer if we've already determined it's null.
AudioOutputOSS: Fix Coverity 700224, 700225. Unchecked return value (of ioctl)
Flip logic pertaining to logging success of housekeeping tasks.
AudioOutputOSS: Fix Coverity 700224. Unchecked return value (of fnctl)
Fix issues with earlier scheduler timing refactor.

Fix a few issues, that were intruduced in SHA1:a2eb9312, including the
failure to put inactive slaves to sleep.

Fixes #11578
Refs #11108
change type of counters to size_t to silence warnings about sign mismatch
change code to avoid multiple different types in initialization part of the loops
Eliminate (logically) dead code

After commit [ea554c9c] selTrack will never have the value -1
(it is assigned 0 in the block previous if it had that value).
Remove the (redundant) checks.

Fixes coverity 700308.
Fixes #11580
Remove redundant check

The codes check for numStream being zero previously,
and return from the function if it is zero.

Fixes #11581
Fix for (likely) typo in checking setsockopt return code

There was a logic error due to an errant parenthesis
that was (likely) intended to be used to check the
return code from setsockopt, but instead resulted in
a value of zero being used for the length of the
operand.  This patch moves the right paren to where
it should have been.

Fixes coverity 746821
Fixes #11582
AudioOutputBase: Fix Coverity 746803. Division by zero
AudioOutputBase: Fix Coverity 746810. Dereference after null check. False positive, and flagged as such with Coverity, but applying a 'fix' anyway to keep other SA tools quiet.
Fix *MythSystem* names unrelated to MythSystem that got mistakenly renamed in an earlier commit.

Conflicts:

	mythtv/programs/mythbackend/backendhousekeeper.cpp
	mythtv/programs/mythbackend/housekeeper.h