update plugin to work with gedit >= 3.8

Since gedit 3.8 this plugin doesn't work because gedit 3.8 and higher support only Python 3.x.