Add missing functions from old yumpkg module

These functions were present before and needed to be added so that the
yum provider didn't lose any functionality from yumpkg being deprecated.
Add output_loglevel=debug to cmd.run_* functions

Added this to some function calls in the lowpkg modules that lacked this
change.
Fix anomalous backslash.
Fix `SyntaxError`