Anomalies, Representations, and Self-Supervision