Simplified getting desktop environment

get_desktop_environment() and get_desktop_version() should work better now.
Fixed gnome version number

gnome-session --version bug was fixed in version 3.7.3 instead of 3.8.