ADD: [droid] backdoor to define XBMC_HOME and HOME on android
[rbp/omxplayer] Reset display region when video stream properties change

Currently when video stream properties change, e.g. when user switches to next or previous Live TV channel, and has the same frame width and height, the COMXVideo::SetVideoRect() method is not called, causing the video to play back with default source and destination rectangles, not respecting the user-defined zoom settings.

This commit fixes the issue.
build: make bootstrap script fail properly on failure

If the first command in the bootstrap script fails, exit with non-zero
exit status instead of silently continuing to the next command.
[tvshows] don't set scraper if we find a tvshow.nfo file.
[cosmetic] drop unused include
[fonts] drop reading of unicode='true' attribute as we assumed it was true anyway
check mime type of internet streams. allows hls playlists without m3u8 extension to be played
Fix webserver memory leak

If the webserver is passed an If-Modified-Since value, which indicates
the
client has the current file, there is nothing to send, the code leaked a
context object.

To fix this I've converted a couple of items to smart ptrs.

The context is now an auto_ptr, and if it's used with the mhd callback
we can pass ownership by using release, otherwise it'll get destroyed on
exit of the function.

Also in the context, the CFile object is now a shared_ptr<CFile>, note
that the Close call is carried out in the CFile destructor.

This should make sure that appropriate cleanup occurs as things go out
of scope, without needing to have all the right deletes in the right
places.

In the free callback move the delete before the trace line, so that we
can be sure everything has been closed and freed when that trace line
occurs.
[EPG] Do *Persist*() calls on a copy of m_epgs

We can get in a situation where PersistAll() and PersistTables() are
running simutaneously, leading to memory corruption.
[EPG] Make sure we catch requests to update during update.
FIX: do not popup OSD on DVD menu with touch or mouse
[PVR] Don't disable PVR clients not in AddonDB

AddonDB is not a reliable source for testing existence of an addon, use
AddonManager instead and tag clients as "known" in PVRDB.
[PVR] Drop unused AddonDB instance member.
[PVR][ADDONS] Drop unneeded PVRAddon special case
[PVR] Add optional param to RegisterClient to get registration status
[PVR] Make sure client addons are disabled first time we see them.
[osx] - handle the VDA HW Acceleration setting same as all others (instead of overwriting in darwin_osx.xml - introduce HasVDA dependency and use that one)
FIX: [sets] actually allow to delete sets
[python] add onScanStarted/onScanFinished and deprecate onDatabaseScanStarted/onDatabaseUpdated
settings: a setting should be disabled if its parent setting is disabled