Unpublishing validate against circlar redirects

Check the edition public_url so that we do not have a circular redirect
Also fixed publishing.rb as it would unpublish even if there were validation errors