Add note to pkgrepo states when run with test=True

This takes a stab at resolving #8247 by providing a warning for pkgrepo.managed and pkgrepo.absent states when run with ``test=True``, if changes are to be made to the repositories.