librepo: do not clear the packages/ when syncing new MD.
librepo: the latest librepo version has somewhat nicer python bindings.

Adds unit test for the progress callback.

See librepo commit 8ba11a5.