One hundred years of the cosmological constant: from “superfluous stunt” to dark energy