Added a class to extract the closest object

The tests are green: https://ci.openquake.org/job/zdevel_oq-hazardlib/99
why aren't you calling directly the method `geodetic. geodetic_distance `?