upnp: ask if user wishes to stop playback on remote device on stop

This allow user to detach from a remote upnp player without
stopping playback.
upnp: split attach and play function in player

This avoids delay when attaching to stopped player.
upnp: reindent after previous commit
AESinkPULSE: Take care when using m_encodedRate when doing passthrough fallback to m_sampleRate
ActiveAE: Set m_encodedRate when doing transcoding
AESinkPULSE: Fix default device (again)
dvdplayer: fix audio codec ffmpeg, set buffer size correctly
Merge pull request #4045 from fritsch/pulseaudio-pr

AESinkPULSE: Be careful when using m_encodedRate fallback to sampleRate instead (fixes stereo upmix with pulse)
Merge pull request #4047 from FernetMenta/aefixes

dvdplayer: fix audio codec ffmpeg, set buffer size correctly
Merge pull request #4020 from elupus/upnpplayer

UPnP player disconnect/attach improvements
FIX: [droid] prevent the os from shutting us down if a touchpad device is added/removed
Merge pull request #4053 from koying/quickpr

FIX: [droid] prevent the os from shutting us down if a touchpad device i...
AE: add settings to enable ac3 transcode and upmix via ac3 transcoding
ActiveAE: implement settings for ac3 transcode and upmix
AE: rename setting speaker configuration
Merge pull request #4025 from FernetMenta/audiopage

AE: add settings for ac3 transcode and ac3 upmix
fixed: Only force cache for video else it may cause a thread-storm
Merge pull request #4027 from arnova/file_cache_not_for_all_fix

fixed: Only force cache for video else it may cause a thread-storm
[3D] Support switching to 3D resolutions

Include matching 3D flags (SBS/TAB) in the score of a resolution to switch to, to enable switching to 3d modes.
Also remove the old code that treated 3D modes differently when assigning a score.

I've also added a small weight to higher multiples of the desired framerate, so if display supports 30, 60 and 120Hz
and the video is 30fps then 30 will now be chosen rather than 120. This reduces the overhead of rendering the gui.
[confluence] Use animated gif as a cheaper working spinner