Merge pull request #1710 from Montellese/fix_13343

jsonrpc: fixes for missing property values from Files.GetDirectory/GetFileDetails
[fix] the player needed a few DelayedCallGuards to release the GIL when accessing the g_application which always has a chance to block.
[upnp] use a reference to m_streamDetails rather than taking a copy
[upnp] don't show 'set content' options on upnp sources
Merge pull request #1689 from koying/playlistplayusing

FIX: Add missing "Play with" to playlist viewers
Merge pull request #1722 from jmarshallnz/upnp_no_set_content

[upnp] don't show 'set content' options on upnp sources
fixed: subtitles would sometime go missing on start

Caused by: 8885f2f2207c0d3c6cd14c22754a1e52872ad56f
add lookup table from old SORT_METHOD to new SortBy, and routines for translating them
use SortUtils::GetSortLabel rather than having a specific routine in CSmartPlaylistRule
check before adding sort methods in GUIViewState::AddSortMethod
store the smartplaylist order when retrieving the directory, and use it to set the default sort method
utilise the SORT_METHOD->SortBy lookup routine in CFileItemList::Sort
fix SortByNumberOfEpisodes and SortByNumberOfWatchedEpisodes based on a list of CFileItems
CGUIMediaWindow: prefer the specific sort order (if available) over SortByPlaylist and SortByNone
consistency: use Label as the sort mode when sorting by label in HTSPDirectory
fix smartplaylist editor showing incorrect types due to not resetting the spinner on window deinit
Merge pull request #1707 from Pulse-Eight/libcec2.0.3

bump to libCEC 2.0.3
the year field in smartplaylists wasn't numeric, thus didn't supply less than or greater than options in the UI
Merge pull request #1704 from koying/fixmysqlthumbnailthread

FIX: Crash when generating thumbnails (at least with mysql on Windows)
fix missing progress bar after removing a source from the video library