Puppet: Adding tests and bringing puppet code up to date

Fixing places that still used the pre-1.0.0 runcible code and also writing
tests for the puppet code in Katello.