Move way nodes to the root namespace

So way.loc.nodes, becomes way.nodes
Remove probably redundant loc.type from way without coordinates
Simplify queue output handling