Add support for gnome-shell polkit agent.

The gnome-shell desktop does not uses a separate process as others do.
It uses an agent within its own process so we need to check for
gnome-shell and then assume that its polkit is working.