Replace calls to PHP scripts with direct calls into the nominatim Python library where possible. This speed up tests quite a bit.
There are still back-calls to PHP for some of the sub-steps. These needs some larger refactoring to be moved to Python.