Fix dig tests

Added a side_effect function to allow for testing of recursive functions
in the SPF tests. Also enabled all skipped tests as they now all pass.
Fix bug in dig.SPF when processing redirects

This fixes a bug where dig.SPF would infinitely recurse on redirects
because, instead of looking up the redirect domain, it was looking up
the domain initially passed to the function.