Support for Python 3, GEdit 3.12

This branch makes gedit-source-code-browser play nice with GEdit 3.12. It contains most patches I have adopted in the Debian package.