[Fix] Cleanup emu environment items on exit.
Remove unused define in emu_msvcrt.
Free allocated CTimeSmoother at exit.
[AE] Free AVIOContext and its buffer.
[pvr] workaround a deadlock if no pvr addons exist and you activate the pvr manager
changed: Remove display of XBOX dvd icon unused code

This would display a XBOX dvd icon if DefaultXboxDVD.png still existed
which doesnt anymore,
change: remove unused xbox overlay support

This is legacy from the xbox days. highly unlikely to ever be used again

ICON_OVERLAY_TRAINED
ICON_OVERLAY_HAS_TRAINER

and removes references to respective unused textures

OverlayTrained.png
OverlayHasTrainer.png
Merge pull request #4909 from uNiversaI/xbox-cleanup

[Cleanup] Remove some old unused Xbox references and code.
[sort] adds sorting by channel number
[pvr] rewrite of pvr windows
[win32] update VS2010 project files
[osx] update xcode project
[keymaps] update to fit new pvr windows
[confluence] rewrite of pvr windows
[gui] new gui info properties PVR.HasTVChannels and PVR.HasRadioChannels
[confluence] hide TV/Radio menu entry if no channels exist
[gui] bump gui version to 5.2.0
[confluence] bump version to 2.4.0
[pvr] fixes deadlocks during notifications from observables (adapt from #4759)
[keymaps] adjust MyTV section to fit new window structure