Prevent unpublished docs redirecting to themselves

Discovered validation errors in unpublish did not prevent an edition from being unpublished.

Added validations to prevent circular references, also adds the URI validator.

https://www.pivotaltracker.com/story/show/52623681