Geometry and analysis in function and mapping theory on Euclidean and metric measure spaces