Respect results of WOA.
[rbp] Ensure resolution infos have unique names

Currently the strMode for 2D and 3D resolutions have the same name.
This means the calibration info for a 2D mode can get replaced with a 3D mode
which can result in the pixel aspect ratio being reset to 0.5.

Also when using gui resolution clamping (i.e. 720p gui on 1080p display)
the calibration settings are scaled to gui resolution, but there is no indictation
of what the clamped resolution was when the settings were saved.

This means disabling gui clamping results in a minature gui.
(And I'd like to remove the gui clamping in the future).

Make sure all these resolutions have unique names by adding the gui resolution
and 3DSBS/3DTB to the resolution string.

Note: this will result in current calibration settings being lost.
[AE/CA] Only restore the default format if we ask for it.
[AE/CA] Simplify the ResetAudioDevices code and make sure it actually works

The old code failed to reset devices set in Encoded mode and it was
going about it in a fashion that duplicated a lot of code. This removes
all the custom code and uses already exisisting functions and that
actually makes the code functional.
mpegts: revert old change for NOHEADER, we will handle it on PMT instead
[pvr] fix: wrong condition while getting first/last epg date
changed: function parameter should be passed by reference
removed: the extra qualification 'CSysInfo::' is unnecessary
fixed: the parent class already defines a member variable m_processing but of different type. renamed it to avoid confusion.
removed: member variable already defined in parent class.
changed: rename critsection variable to prevent confusion with the cs variable from the parent class.
changed: use empty() instead of size()
mpegts: stop analyzing when pmt for all programs have been found

This disables NOHEADER after finding PMT for all programs to
avoid find_stream_info always exhausting probe size for mpegts.

This is very important for live streams since read speed
will be limited. rtsp, udp and any protocol streaming a live
mpegts will have dramatically faster startup time.

Note, lack of codec parameters for streams can still cause
the full probe size to be exhausted.
ffmpeg: add patch to stop find_stream info when all pmt's are found
linux: allow root user to raise priority
[fix] Remove unused parameters eliminating bw compatibility.
[fix] xbmcgui.Window default constructor fixed. Closes #14754
[airtunes] - fix - show metadata/coverart on first song aswell by delaying the update to the "OnPlay" event. (before we wouldn't set metadata/coverart because we get it before playback in our player really starts).
[players] Fix for subtitle flood at start of file

The test for pts==0 results in every subtitle in the overlay container being rendered at start of file.

This results in hundreds of subtitles being rendered which is slow and ugly. See:
https://dl.dropboxusercontent.com/u/3669512/temp/screenshot001.png

Remove this test.

Also remove setting the media_pts to the predicted media_pts as that causes a subtitle flurry after seeking while GPU fifo fills
[spectrum] Avoid zero height bars that cause display artefacts