Fixes: check results of memory allocation functions
Fixes: check for NULL pointers before dereference
Fixes: don't use uninitialized vars
Fixes: checks for buffer overrun
Fixes: wrong log strings
Fixes: remove large buffers from stack
ElementText: replace 'char *' with 'std::string'
[win32] AESinkDirectSound: check result of GetStatus()
GUIWindowTestPatternDX::DrawCheckers: check input parameters
AEChannelInfo::BestMatch: fix use boolean in arithmetics
XMLUtils::GetHex: check result of sscanf()
ActiveAEResample::Init: transform to 64bit before shift
CueDocument: replace call of isdigit() with StringUtils::isasciidigit()
cc_decoder: suppress printing to stderr and stdout
[osx] - remove XBMCHelper binary from tree
[XBMCHelper] - change to only build i386 and adapt output dir to match the one where the binary was in our tree before...
[XBMCHelper] - small refactor - move the launchagent installation/deinstallation out into its own method
[osx] - add callback when the input.appleremotealwayson setting is changed ("allow startup of kodi via remote") - to instantly install/deinstall the launchagent -> needed for manual migration path from xbmc to kodi
Merge pull request #5678 from Memphiz/xbmchelper

[osx] - fixed XBMCHelper was never updated
Merge pull request #5045 from Karlson2k/code_fixes_11

Code fixes