Adds ability to purge resources

This introduces the $purge parameter which if set to true will remove any
yumrepos or rpm-gpg keys not managed by puppet.