fixes #8606 - fixing puppet module index

root cause was rabl calling a repositories function which did not exist on
the ES item object that was being sent to the templates.  This change now takes
the ES item objects and transform them to katello objects. This should only affect
Package, Package Groups, and Puppet Modules
Merge pull request #4859 from jlsherrill/8606

fixes #8606 - fixing puppet module index