[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
codegenerator handles typdefs - needed for Strnig and Dictionary changes.
[fix] Make the Dictionary a template and handle String as a typedef of std::string. Apply the use to the ListItem to handle #14546. Fixes #14546
Certain string in the ListItem need to be coerced from int values passed from python. This adds a new type that has a slightly different conversion than a string.
FIX: TAB 3D fixup for ios & libstagefright
Merge pull request #3841 from jimfcarroll/fix-14546

Fix 14546 - ListItem.setInfo can handle additional types. Fixes #1456
Revert "[fix] When the screensaver kicked in on windows with the xbmc window minimized, it would never open.

This reverts commit 4df1056b27449bdca2a5f1dd4ca41cf6ae52be4d.
Causes GUI rendering problems.
[pvr] fix: hide loading pvr data progress dialog if error occured in pvr clients
[mysql] table names should be case sensitive
[musicdb] remove duplicated trigger statement (already present in v39)
Fixed karaoke lyrics delay when the whole words are assigned the same time.
Fixed broken karaoke import due to change in songview
[musicdb] combine triggers so we have a single trigger per table - mysql requires this
platinum: fix parsing of upnp:actor in PltMediaItem
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