Puppet: Wrote some tests and fixed repo methods

Wrote some repo tests for puppet repos. Also, found some places that weren't
1.0-compatible in that they were class methods instead of the 1.0 architecture
which supports multiple pulp servers by using objects.
Merge pull request #98 from daviddavis/puppet-tests

Puppet: Writing tests and fixing methods