port of gedit pycheck plugin to latest gedit api