Fixing issues in aptpkg and yumpkg

Fixing issues where packages were being put on hold even when test=True.  Fixing issues related to listing and putting packages on hold using yumpkg, certain assumptions about the results of yum-versionlock were made which were false.