GLibEventLoop works with python3 and gobject introspection

I modified GLibEventLoop. It imports GLib's MainLoop from the gobject introspection repository, instead of importing gobject, and added minor changes in order to get it working in python3.