Fix unconditional 'true' return from StartUPnP() if HAS_UPNP is true.
Fix possible memory leak in Settings.cpp
Always close test socket in CWebServer::Start()
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.
Fix incorrect iterator comparison in CAlbum::Save()
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 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
guilib: CGUIBaseContainer::OnAction - waiting on scroll condition to be satisfied consumes the action, hence return true
fix broken channel switching by numbers after: 8768ec8a7260b7dd46c28e601a398d493808edeb
cleanup sorting to (almost) get rid of the old SORT_METHOD_FOO
Win32: move paste code to g_Windowing