tests: Add test_lrmirrorlist_append_url()
downloader: Refactored lr_prepare_lrmirrors()
downloader & lrmirrorlist: Add sanity checks in order to avoid bugs like: 1166533, 1160087