MainServer: use gCoreContext->IsThisHost(hostname) to check for same host
Allow Enums to be parameters to Service API Methods
Fix unused variable warning in AudioSetupWizard by using it. Cppcheck
Fix cppcheck performance warnings 36 & 37
Restore getrawframes when exiting AVFD::DoFastForward() early. Cppcheck

This doesn't actually fix any bug as getrawframes is not used by the
AvFormat Decorder, only NuppelDecoder, but it may be used in the
future so it's better that it's corrected now.
Check that malloc didn't fail in MythSystemLegacyUnix. Coverity 1028695
Fix coverity 1196567. Wrapper object use after free.
Fix coverity 1025906 (again). Leak of hls on return (exit). Original fix missed a return point.
Fix coverity 1061552. Dereference after null check.
Don't ignore the return value of fcntl in ExternalIO (External Stream Handler). Coverity 1213709
Remove unused member from PBB. Coverity 1023904
Fix coverity 1025906 (and again). Leak of hls on return (exit).
Fix a typo which forced the MusicAutoShowPlayer on no matter what the user chose. Coverity 1229292
Dividing an int by an int produces an int, making round() redundant. So cast to double first. Coverity 1229300 and 1229301
Protect against possible divide by zero. Cppcheck

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Services: 'if' can/should be 'else if'
Pre-increment iterator in AutoDeleteDeque. Cppcheck.
Remove definition of m_pHttpServer from MediaRenderer and use the one in the base class, UPnP
Alter UPnP 'register' comments to use the actual service names.
Check whether a joystick config exists before trying to open it. Failing to find a joystick config is not an error, finding it but failing to open it is.