Add sliding windows abstraction

Add a sliding windows abstraction for matching.

Instead of matching line by line match block by block.

Allow to match with some care multiline pattern.

signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Extract licensecheck to it own function

It decrease the indent level a little bit and prepare the use sliding windows algorithm.

signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Port cruft.pm to sliding window

Port cruft.pm to sliding window class.

signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
t/legacy-*: Make legacy test ouput immune to S-V changes

Signed-off-by: Niels Thykier <niels@thykier.net>
Bump to and recognise Standards-Version 3.9.5

Signed-off-by: Niels Thykier <niels@thykier.net>