The Analysis of Gravitational Lens Surveys. II. Maximum Likelihood Models and Singular Potentials