Implement WGS84 earth model for distance calculations

Prepare #2809
TestGeoPoint: remove unnecessary printfs
build/test.mk: add path to tests for testall.pl
Enable WGS84 distance calculations by default

Fixes #2809