add functional tests

These are the tests that were formerly located at
https://github.com/lonvia/test-nominatim
update osm2pgsql (empty waterways)

fixes #153
add simplified geometry index for reverse queries