[win] Fix default value of vertical sync setting from disable to always.
libdvdnav runs dvdread-config to update CFLAGS and LDFLAGS with libdirs, includirs and libraries but wrongly with locations on the buildsystem. this breaks crosscompiling. We fix this with providing a own 'dvdread-config' file which dont inject /usr/include and /usr/lib in our *CFLAGS.
Avoid using CSettings to create a blank guisettings.xml for a fresh profile.  This causes a segmentation fault as documented in issue #14747.

As the file is created 'fresh' on first login of the profile, there seems to be no consequence in not creating before hand.
Fix compilation error due to missing include.

This fixes compilation error due to missing header.

 SDL_anigif.cpp: In function ‘int AG_LoadGIF_RW(SDL_RWops*, AG_Frame*, int)’:
 SDL_anigif.cpp:293:37: error: ‘malloc’ was not declared in this scope
   gd = (gifdata*)malloc( sizeof(*gd) );
                                     ^
 SDL_anigif.cpp:418:11: error: ‘free’ was not declared in this scope
   free( gd );
           ^
 make: *** [TexturePacker] Error 1
Fix compilation error related to removed structure field by ffmpeg.

ffmpeg removed reference_dts field in struct AVStream.

Related ffmpeg commit:
  http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2ba68dd044ca8fc591139c05563840f546a9c0c0
[pvr] show gaps on epg timeline grid
FIX: TAB 3D fixup for ios & libstagefright
[pvr] fix: hide loading pvr data progress dialog if error occured in pvr clients
[musicdb] combine triggers so we have a single trigger per table - mysql requires this
FIX: [droid] handle usb storage
Merge pull request #3908 from fritsch/aefixes

ActiveAE: Fix Fixed Mode and some cosmetics
dvdpalyer audio: fix delivering the packet in wrong format
[pvr] refactor advanced setting showepginfoonselect to setting

This removes the advanced setting showepginfoonselect and adds it to
settings, so users can change it within the gui. In addition, the
setting is extended and you can now select the following values:

* Show context menu
* Switch to channel
* Show information
* Record
DVDSubtitleStream: better detect stream encoding and optimization
Use BOM detection for all supported charsets, not only UTF-8 and UTF-16LE
Do not double convert subtitle->wstring->UTF-8. Use direct conversion subtitle->UTF-8
additionally: CharsetConverter: subtitleCharsetToW -> subtitleCharsetToUtf8
[win32] Use "new" package format for tinyxml
[confluence] adds info area for current selected epg item
FIX: [droid] cpu load info with vanilla ndk
Merge pull request #3911 from koying/fixdroidusbstorage

FIX: [droid] handle usb storage
Merge pull request #3917 from koying/fixdroidcpuload

FIX: [droid] cpu load info with vanilla ndk
[musicdb] use a temporary table for the updating of strJoinPhrase in song_artist and album_artist, as mysql can't handle (potentially) circular updates