Python3 updates (ran 2to3 and .plugin update)

Currently, without this patch, this plugin doesn't work on Ubuntu 13.10 running gedit 3.8.3.  Converting to Python 3 fixes this up.