Allow to join more that two ways

Hi, I tried to solve the issue https://github.com/systemed/iD/issues/649. The ways still have to be selected in an order which corresponds to the joining. Otherwise the operation would require a recursive search through all ways as in JOSM... but I think for iD, such a restriction is acceptable.