Port gupnp-binding-tool to Python 3

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