Fix tests for Python 3.
simple time test.
Inlining paeth. 14% speed up.
Add filter_type to undo_filter() to avoid splitting line twice.
Cache self.prev
Work with interlaced images (once more).
pass previous as argument all _undo_* filter functions.