Fix missing import

This fixes #7203 by importing the 'os' module, required by some of the
functions imported from salt.modules.yumpkg. I also checked the other
re-namespaced functions in yumpkg5 and made sure additional modules did
not need to be imported here.