improve header detection heuristics
improve header detection heuristics

in particular, adapt to connected component detection
(since then, only a single CC would be detected, which only
got single letters for headers without backgrounds)
hmeine/pdfdecanter