add 3D autodetection for xbmc with versions check

please review.