improve imported_ways handling

do not rely on similar tags when deciding if a way was represented
by the inserted relation. compare actual mappings and skip ways
with same mapping as the relation.
use direct attribute access for skip_inserted_ways