Introduced the max_distance concept in the GeographicObjects class

This is needed by commonlib, to associate assets to the closest site. See