Allow menu_cache_get_desktop_env_flag() accept colon-separated list.

See the freedesktop.org specification for XDG_CURRENT_DESKTOP variable at
http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html