Fix graphml reader when <edge> comes before <node>, #769

Currently we do not check if a <node> tag exists for
each node ids that we have seen in an <edge>.

Conflicts:
	src/foreign-graphml.c