[win] Fix default value of vertical sync setting from disable to always.
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
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
Work around groovy failure with some JRE-s

by compiling some .groovy files instead of interpreting them
Add comment to workaround
Merge pull request #3907 from rbalint/groovy-workaround

Work around groovy failure with some JRE-s
ActiveAE: Fix some print cosmetics in ActiveAESink
ActiveAE: Don't compare m_frames in CompareFormat (it's given via samplerate anyways and zero for silence)
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