support librepo.PackageTarget(endcb=...)

Remove all the complex "file end" checks from the progresscb code,
as librepo now supports endcb parameter.

The main benefit of this is that we correctly display each file
only once. This solves the "headers ended" issues.