fix CApplicationMessenger::MediaStop() in case no playlistid has been provided
[AE/CA] - implement streamsilence flag (releases powermanagement assertion which is hold since lion even when holding a shared audio device open)
[AE/CA] - hold the enginelock when diddleing with the hal during garbagecollect and reuse the resume() function instead of duplicating code
[AE/CA] - fix regression introduced with AE - readd the default output device which will ask the os for the default output device and use that
[AE/CA] - fixed - fetching the default audio output device from the os mail fail - in that case we return the last known good device id
[AE/CA] - fixed - if user has selected "default" output device we need to reinit to it once the deviceid behind "default" changed - we do this in makestream for now (where all the reinit logic sits nevertheless)
[IOS] - fix build after 6095130a0a441fdf61fa9ba1d1432ece3f5bc6a4
[AE/CA] - no need for the streamsilence / idle suspend stuff on ios - so do it only for osx
fixed: no thumbnails were created for images which need to be rotated by FlipHorizontal, FlipVertical and Rotate180CCW + a small refactor.
Override CSFTPDirectory::Exists() method to correctly report whether an SFTP url represents a directory or not.
Fixes ticket #13784.

Refactored CSFTPSession::Exists() into FileExists() and DirectoryExists() methods, and have CSFTPFile and CSFTPDirectory classes use them.
This means that Exists() calls on these classes correctly only return true if the url refers to an item of the appropriate type (e.g. a file or a directory).
Merge ffmpeg fix for sagetv recordings from upstream
> commit c071b006436d663b977068f8d23cbc061f40491f
> Author: Michael Niedermayer <michaelni@gmx.at>
> Date:   Mon Jan 21 04:21:56 2013 +0100
>
>     mpeg12demux: Fallback to startcode for stream type identification.
>
>    Fixes Ticket2147
>    Fixes SageTV support
>
>    Based-on patch by Andrew Gallatin
>    Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fixed: For Webdav set the PROPFIND custom request header else we may return false when checking for folder existence (fixes #13914)
[Confluence] get rid of error log messages
paplayer handle prepare stream failure.
re-init tcp server when encounter EBADF
[droid] - fix ssh/sftp protocol. (the return NULL in would lead to early/error return when libssh tries to fetch the default SSH_OPTIONS_SSH_DIR)
fixed, force rtmpX to the videodefaultplayer
[AE/CA] - on device change reinit coreaudio by calling opencoreaudio with the last engine parameters (this will fallback to default device when our current output device vanishes and on the other hand will go back to that device if it re-appears).
[AE/CA] - revert 7e6433169c93abd22e28a828fa024cf744fe5e86 - not needed anymore
fixed: Curl should also retry on CURLE_COULDNT_CONNECT
fixed: Curl reconnect messages should be warnings
changed: Cosmetics