upnp: split attach and play function in player

This avoids delay when attaching to stopped player.
upnp: reindent after previous commit
Scraper::FindMovie: don't use "ToLower" with UTF-8
Merge pull request #4006 from koying/fixmysql

FIX: [mysql] too long index keys leads to 1071 on innoDb (fixes #14117) + missing music db indexes after recent db bump
[ios] - cleanup the cursor key handling a bit in preparation for hooking it (needed for ios7) - get rid of the XBMCApplication class and use UIApplication instead again
[ios] - fix cursor keys for ios7 - we need to hook into sendEvent or handleKeyUiEvent (ios7) to get the cursor keys from now on - as ios7 doesn't call that method in derived classes anymore
[ios7] - fix backgroundcolor if textfield when showing the native keyboard - this changed to transparent in ios7 which is non-readable with black characters - force it to white (as it was implicitly in older ios versions) - setting backgrouncolor doesn't work when having round colors - so just let the textfield be rough edged and be done
CURL: remove Encode() overload; Encode() return new value instead of modifying parameter,
include fix of using wrong Encode() overload introduced in  5dc310eb2dd6bee1207cd29b1ce4a7eb5cf57fff
CURL: remove Decode() overload; Decode() return new value instead of modifying parameter
CURL::Encode usage refactoring
Remove duplicated local function for CURL:Encode()
CURL::Decode usage refactoring
AE: kill macros in sink factory, remove null sink logic
ActiveAE: try other sinks in case of create fails
Merge pull request #4023 from FernetMenta/aefixes

ActiveAE decides whether to open a fallback sink
[win32] Win32DllLoader::Load: avoid uninitialized pointer dereference, convert Windows error messages to UTF-8, try to get error message in English for log
[win32] Win32DllLoader::Load: use correct format for error number
[win32] Win32DllLoader::Load: convert to C-string for log
strange that it works even as std::string
PulseAudio: Enable automatically if required headers are available
AESinkPULSE: Don't add devices with empty channel map