Update for Gnome 3.10

Made the switcher return an object with the methods the shell
tries to use in Gnome 3.10 and all previous versions.