FIX: [touch] properly handle touch/gesture actions

This reverts commit b891c240908ddd0b93547afdbe6d261b635b930a.
- on touchbegan call the proper handler for focusing the control
[WIN32] removed double includes.
[WIN32][DS] fixed: viz waveform would show a zero line at the end because of not enough frames. Increasing the sound buffer to deliver > 512 frames.
Revert "[Fix][DVD/OMXPlayer] This fixes a regression introduced in 50a1d3c."

This reverts commits bb1aeb75e13adc0bdb6befb69feca44997e5552b and fdacd42bcebc4197c75a24c6ea54511b796b396e.

The fix is invalid and causes a mismatch between GUI assumed subtitle
and what the player actually is playing.
Revert "fixed, compiler warning. Let us try to keep assignments out of if statments"

This reverts commit 40e06e7140b561aa38d6642a19b0fde44ea1ab61.
[ios] fixed atv2 runtime. missing link to libxml2
[cximage] Fix denial of service via a crafted photo file (CVE-2013-1438)

Embedded CxImage embeds a copy of libDCR, a fork of dcraw.c, which
contains several denial of service vulnerabilities as discovered by
Raphael Geissert. These seem to affect the CxImage-embedded libDCR as
well.

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1438
----
Unspecified vulnerability in dcraw 0.8.x through 0.8.9, as used in
libraw, ufraw, shotwell, and other products, allows context-dependent
attackers to cause a denial of service via a crafted photo file that
triggers a (1) divide-by-zero, (2) infinite loop, or (3) NULL pointer
dereference.
----

Port the fix from libRaw [1] to CxImage copy of libDCR. The patch has
been submitted upstream.

[1]
https://github.com/LibRaw/LibRaw/commit/9ae25d8c3a6bfb40c582538193264f74c9b93bc0
Merge pull request #4175 from wsoltys/header

[WIN32] removed double includes.
[ios] fixed, stupid editor
Merge pull request #4170 from wsoltys/dsbuffer

[WIN32][DS] fixed: viz waveform would show a zero line at the end becaus...
Merge pull request #3996 from koying/fixgesture

Revert  "FIX: Send Touch actions to the proper window" and properly solve
fixed, compiler warning
dvd/omxplayer: add internal version of SetSubtitleVisible

This avoids overriding result of OpenDefaultStreams forced/relevant
calculation due to SetSubtitleVisible being delayed by message
queue.

Original-patch-by: ace20022 <ace20022@xbmc.org>
Merge pull request #4181 from davilla/die-warnings-redux

fixed, compiler warning
dvd/omxplayer Subs couldn't be turned on if no relevant subs existed

Original patch by: ace20022
dvd/omxplayer: don't override video setting visibility if no subs are found

Note: This should be reverted when we have separated GUI display from
user specified settings.

It temporarily solves the use case of user starting a movie without subs,
stop it, add external subtitles, start it again.
Merge pull request #4176 from elupus/sub_fixes

Sub fixes
DVDVideoCodec: Add static methods to hide / enable / query user settings
VDPAU: Remove AdvancedSettings for mpeg4