Adjust to gnome-shell changes
gnome-shell master turned menu items into GObject, so we need to wrap any subclasses with GObject.registerClass().
gnome-shell master turned menu items into GObject, so we need to wrap any subclasses with GObject.registerClass().