pass fullsearch option from update_pkgs_retry to update_pkgs
introduce anonymous sub as shortcut to make the update_pkgs_retry code
readable
improve the update_pkgs_retry unittests to verify all arguments get
passed; and improve the checks for error logging
Merge pull request #375 from stdweird/spma_pass_fullsearch

ncm-spma: pass fullsearch option from update_pkgs_retry to update_pkgs