Make iD.actions.Join agnostic to selection order

This is accomplished by reusing iD.geo.joinMemberWays,
which was refactored, generalized, and renamed to joinWays.
Fix tests