fixed support for Gedit >3.8/python3

Fixed the plugin for the latest Gedit (tested with Gedit 3.12.1). 
Now Gedit uses python3 for plugins.
Also updated the .glade file to a Gtk3 .ui file.