improve scanning of long lines by avoiding expensive rescans of the buffer
add a unit test with a super long line
Merge pull request #950 from hendrik-cliqz/long_lines_speedup

improve scanning of long lines by avoiding expensive rescans of the buffer