Always close test socket in CWebServer::Start()
Prevent memory leak in CWebServer::CreateFileDownloadResponse()
Convert #defines to real integral constants in SmartPlaylist.cpp

The name "group" used in these macros gets confused with the name
of the parameter "group" in various functions in this file when the
macro is expanded (See translateGroup(), etc).

This causes the sizeof() calculation to use the size of a pointer,
rather than the intended size.
Check for valid socket creation before setting options on it in CreateTCPServerSocket()
Fix incorrect iterator comparison in CAlbum::Save()
Fix possible NULL-pointer derefereces in DVDDemuxFFmpeg.cpp
Remove NULL check that can never be true.

We've already validated that render is non-null on all possible
control paths at this point.
Fix copy and paste errors in MusicInfoScanner.cpp
Fix incorrect virtual override in ProfilesManager
Fix validation checks in Deserialize()
Fix possible memory leaks in iso9660.cpp
Fix possible integer overflow in udf25.cpp
Avoid possible divide-by-0 in DirectXGraphics.cpp
Check return value of GetResumeBookMark()
Fix incorret iterator comparison in MusicInfoScanner.cpp
Prevent possible divide-by-0 in karaokevideobackground.cpp
Check return of musicUrl.FromString() in GUIWindowMusicBase.cpp
Avoid incorrect signed-unsigned conversion on error in GUIWindowLoginScreen.cpp