Cluster Cores, Gravitational Lensing, and Cosmology