[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.
[AML] Fix pts error correction logic
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: [stereoscopic] fix 3D support for libstagefright and ios
[scrapers] Support XSLT transforms (XML->XML) in the scrapers
cosmetic: indenting
[sorting] don't apply airdate when sorting by year if an empty airdate is specified. fixes #14276
[ADDONS|SECURITY] Ensure our zip hasn't been tampered with before rollback.
fix: CArchive reading/writing of CVariant used different types for type. Fixes #14744.
[tests] add improved tests of CArchive taking CVariant to verify fix of #14744
Merge pull request #3872 from t-nelson/harden_addon_rollback

[ADDONS|SECURITY] Ensure our zip hasn't been tampered with before rollback
Merge pull request #3887 from koying/fix3droidios

FIX: [stereoscopic] fix 3D support for libstagefright and ios
changed: don't start the screen saver when minimized. Prevents the start of the ss when maximizing and an endless loop with some ss.
Merge pull request #3893 from wsoltys/screensaverfix

changed: don't start the screen saver when minimized.
[ios] - enable retina support for iPadAir and iPadMini2G
- don't build xsltproc - it pulls in a lot of dependencies which are not available for rbpi (and so linker would try to link in x86 libs found in the system - which fails for arm linkage)
- force our libxml2 - fixes compilation on rbpi
[WIN32] changed: set background mode when minimized. prevents screen saver to kick in.