Port gnome-shell to Python 3

https://bugzilla.gnome.org/show_bug.cgi?id=732478