cmake: rebrand from xbmc to kodi with backwards compatibility
cmake: fix version.txt parsing and APP_NAME in kodi-config.cmake
cmake: rename XBMCROOT to APP_ROOT with backwards compatibility
[CEC] bump libCEC to 2.2.0
[CEC] prevent bus rescan on a Pi, since the adapter cannot be removed
[CEC] fixed: don't return garbage from CEC related app messenger methods
see https://github.com/xbmc/xbmc/commit/19d37944ca2a2ac2f3e71a40a94e9ea289d8f2db#commitcomment-8248480
[CEC] renamed the iDoubleTapTimeoutMs in the new libCEC for clarity. does not change binary compatibility
[CEC] fixed - don't use CEC_CLIENT_VERSION_CURRENT for the client version, because it will lead to issues when XBMC is rebuilt after a libCEC bump that changes something
[CEC] use device name 'Kodi' instead of 'XBMC'
[cec] [win32] Use new package format
Merge pull request #5582 from FernetMenta/refclock

VideoReferenceClock: refactor, fixes, video sync for RPi
PGS Subs: Don't read from null ptr and Flush on error
FIX: [depends] install pvr at the proper, name depdendant, place
[omxplayer] Request 3 render buffers

This avoids stuttering when using subtitle and avoids a warning of too few render buffers
[omxplayer] Remove unused function
[rbp/settings] Allow av sync type to be enabled

It works for dvdplayer
Merge pull request #5610 from opdenkamp/libcec-2.2.0

libCEC fixes
Fix marking a video with a resume point as watched.

Although the video was being marked as watched, the resume point wasn't cleared.
CFileItem::GetPath() returns the virtual library path, causing
CVideoDatabase::GetFileId() to return -1 as it couldn't find any actual file and
CVideoDatabase::ClearBookMarksOfFile(int) was never called.
See: http://forum.kodi.tv/showthread.php?tid=207213

This commit also fixes an incorrect use of SetPlayCount(1) when marking as
watched by replacing it with IncrementPlayCount().
Merge pull request #5622 from popcornmix/avsync

[rbp/settings] Allow av sync type to be enabled
Merge pull request #5620 from popcornmix/render_buffers

[omxplayer] Request 3 render buffers