add function to build multiline geoms from relations

needed for waterways in gazetteer output,
fixes https://github.com/twain47/Nominatim/issues/133