Additions to yumpkg.py, aptpkg.py and pkg.py

Adding hold and unhold functions to both aptpkg and yumpkg, these can be used to set the packages in a hold state so the versions are locked.  Adding initial support to be able to put packages on hold from states.  Per #11076