Dark matter with long-range interactions as a solution to all small-scale problems of $\Lambda$CDM cosmology?