AE: Pulse Audio fix crash on player stop.

PA is calling back functions on stream destruction and may try
to read a free'd stream variable. (trac bug 13903)

Signed-off-by: Michael Cronenworth <mike@cchtml.com>
AE: Pulse Audio fix buffer underruns.

The cache buffer size was being initialized to the write size
of a PA stream, which is not the buffer size of the PA server.
The cache buffer size will now use the PA server buffer size.
(trac bug 13902)

Signed-off-by: Michael Cronenworth <mike@cchtml.com>
Remove spam log message in CGUIWindowSlideShow::RenderErrorMessage().
[AE] ALSA: Do not try to bypass dmix for other sample rates

Currently the ALSA sink tries to bypass ALSA dmix when the audio sample
rate is different from dmix sample rate (usually 48000). This is done by
opening "front" device instead of "default" (or "sysdefault").

However, this has the effect that stereo audio is only played on the
front speakers, while "default" device might have routed the audio to
multiple speakers on a multichannel system. This effect is triggered
even on systems that have a hardware mixer and therefore no dmix in the
first place.

To avoid this issue, remove the bypass behavior that was added between
11.0 and 12.0. This change affects stereo audio only as multichannel
audio does not normally have ALSA dmix in the first place.

It would not have been feasible to limit the previous behavior to dmix
systems only, since the ALSA design does not allow us to easily detect
dmix, since user applications should not care about that. If dmix is not
wanted, the user should not have it enabled in the first place.
[python] Add removeItem to ControlList
Templatize some of the more repetitive initialize-check logic so that
we can just try and create every individual type, see if creation succeeded
and then return true if it did.
Add some missing strings for System.CurrentWindow
GUIScrollBarControl: fix onright/ondown navigation when master control doesn't have enough items to fill at least 1 page
GUIBaseContainer: remove unneeded call from CGUIBaseContainer::Render() - we are calling it in CGUIBaseContainer::Process() earlier
GUI containers: adjust page control offset when scrolling down to match behaviour when scrolling up
Remove unused function GUIAction::GetFirstAction()  (leftover from HTTP api)
Merge pull request #2551 from Fice/getfirstaction

[RFC] Remove unused function GUIAction::GetFirstAction()  (leftover from...
Merge pull request #2548 from BigNoid/master

Add missing strings for System.CurrentWindow
Merge pull request #2436 from aglebov/master

[python] Add removeItem to ControlList
Merge pull request #2362 from ulion/slideshow_error_do_not_spam_log

Fix CGUIWindowSlideShow::RenderErrorMessage() to not spam log.
Merge pull request #2422 from anssih/AE-drop-dmixhack

[AE] ALSA: Do not try to bypass dmix for other sample rates
Merge pull request #2240 from mooninite/master

[AE] PulseAudio fixes for crashing and stuttering
added: altname for PS3 controller (for OSX Mountain Lion)

thanks to chrisclausie
[rpi] fix missing DisplaySettings.h includes from 8cb2e69c19a5af7ea656b95f42bc3cb9b8f04e0d
Merge pull request #2464 from smspillaz/refactor-egl-selectors

Refactor the EGL implementation selection code in EGLWrapper.