Completed desktop environment detection.

@{*-start/*-test/gui/desktop_environment} now purports to reliably detect the
current desktop environment (e.g., GNOME 2, GNOME Shell, KDE).