Change pgsql output to get information from middle about pending relations from ways rather than modifying the middle.
Moved `start`, `stop` and `commit` to `osmdata_t`.
Starting to split out `iterate_*` functionality.