Port to Python 3 for gedit 3.8

Also added a Makefile for installing/uninstalling.