[tvshows] don't set scraper if we find a tvshow.nfo file.
Fix webserver memory leak

If the webserver is passed an If-Modified-Since value, which indicates
the
client has the current file, there is nothing to send, the code leaked a
context object.

To fix this I've converted a couple of items to smart ptrs.

The context is now an auto_ptr, and if it's used with the mhd callback
we can pass ownership by using release, otherwise it'll get destroyed on
exit of the function.

Also in the context, the CFile object is now a shared_ptr<CFile>, note
that the Close call is carried out in the CFile destructor.

This should make sure that appropriate cleanup occurs as things go out
of scope, without needing to have all the right deletes in the right
places.

In the free callback move the delete before the trace line, so that we
can be sure everything has been closed and freed when that trace line
occurs.
[playlist] ensure shuffle/repeat status is set after settings load
[cosmetic] remove unused functions
platinum: add already supported default filters
platinum: add proper support for dc:publisher
platinum: add support for upnp:episodeCount and upnp:episodeSeason from ContentDirectory v4
platinum: add support for xbmc specific fields dateadded, rating, votes and artwork

xbmc:dateadded to pass dateadded with items and not need to stat upnp resources for that
xbmc:rating for number-based rating
xbmc:votes for string-based votes number
xbmc:artwork for a type-url-based mapping of artwork
platinum: add SearchSync method to SyncMediaBrowser
platinum: implement GetSearchCapabilities in media browser
platinum: implement GetSortCapabilities in media browser
platinum: add patches for the new commits
upnp: set SearchCapabilities server state variable
upnp: add sorting support for upnp:episodeCount, upnp:episodeSeason, xbmc:rating, xbmc:dateadded and xbmc:votes
upnp: make use of dc:publisher by filling it with studios for videos
upnp: make use of xbmc:dateadded, xbmc:rating, xbmc:votes and xbmc:artwork
dvdplayer: drop StreamLock section that doesn't protect anything anymore
dvdplayer: drop unused last sub variable
dvdplayer: drop some old OnExit debug logs
dvdplayer: drop parameter from CheckPlayerInit that is part of other