Measuring Weak Gravitational Lensing in General Purpose Imaging Surveys