Gravitational Lensing by Black Holes: a comprehensive treatment and the case of the star S2