[gui] adds new method GetSelectedItemPath() to CGUIViewControl
[pvr] fix: remember the wrong selected item path if you close the channel osd

If you close the channel osd on a different group than the current playing group without switching to a channel of this group, the wrong selected item path is stored in the global variable. This fix it by setting the proper selected item of the current playing group.
[pvr] use new GetSelectedItemPath() method in CGUIWindowPVRBase
CacheStrategy: remove usage of emulated win32 functions, switch to internal VFS
URIUtils::IsInPath needs to check if the base path isn't empty, fixes texturecache when there is no skin loaded
AML: Send h263 to software decoding sooner

* AMLCodec was handling it prior
https://github.com/xbmc/xbmc/blob/master/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp#L1225

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Put frameTimer on the stack instead
[guilib] - setvideoresolution needs to be called from mainthread to work
on most platforms - fixes #15115
[tests/darwin] - fixed g_sysinfo.GetManufacturerName() test on osx
[vfs] IFile::Read and all derived classes: change to use size_t/ssize_t, do not use more than SSIZE_MAX of buffer for "Read()", small related fixes
[vfs] Change CFile::Read() to use size_t/ssize_t; add checks for "Read()" return values; some fixes for new types in "Read()"; update types in code to match 'ssize_t' returned by 'Read()'; some usage of negative return values for Read()
ZipManager::GetZipList: use auto_buffer, fix improper use of std::string internal buffer
Reflect int64_t -> size_t changes for "Read()" to Addons
[vfs] IFile::Write and all derived classes: change "int Write(void*, int64_t)" -> "ssize_t Write(void*, size_t)"', small related fixes
[vfs] Change CFile::Write() to use size_t/ssize_t; add checks for "Write()" results; check for negative values; update types to ssize_t
Reflect int64_t -> size_t changes for "Write()" to Addons
Merge pull request #4962 from Karlson2k/vfs_update_05_alt
Merge pull request #5476 from Karlson2k/cachestrat_upd_01

CacheStrategy: remove usage of emulated win32 functions, switch to internal VFS
fix: missing bound check on populating context menu
Merge pull request #5517 from tamland/ctxmenusegfault