Change yum module to not nuke the package cache every state run

This change mirrors the behavior in the apt module. Previous behavior of
nuking the package cache would cause yum to download ~30 MB of data for
each and every highstate run.
Merge pull request #9764 from whiteinge/yum-refresh-db-fix

Change yum module to not nuke the package cache every state run