(#16790) Rubyize yumhelper.py to remove dependency on python

This patch moves the functionality from yumhelper.py into the
yum provider.  This eliminates the direct dependency on python
and resolves bug #11380.