pylib: test: Fix Py3 syntax, improve filter gens.
pywrap: gfx: implement [Fill]Polygon interface
pylib: test: tests for Polygon and FillPolygon