Rework adaptive filters

Move them into separate method.
Also tune some line filtering.

*pngfilters.py removed as it is only generated file which is equal to
'BaseFilter' class + unimport.py script (unlike pngfilters.c which
require Cython to build)