Make the image better for the OCR

By sharpening the edges, I got more precise results.
Make the IsValid test more strict

Reduce the maximum image size to be considered valid.
Pimp the ibge_kml_maker.py tool

Now it can actually generate something useful, like .png maps and a kml
file with overlays to be imported by JOSM.