Don't show unpublished resources.

If `dont_index?` returns true on the object we should respond with a 404 page.
DIR-104 DIR-105 DIR-107