Remove redirect

Fixes https://www.pivotaltracker.com/story/show/55489170
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