systemed/iD — pull request #1125 by porjo (2013-03-23 15:20:14+00:00)
Title: Orthogonalize three-node ways (addresses 1077)

Takes the corner closest to 90° and moves it until it is a right-angle.

For three-node ways I found I had to run `_.uniq()` on the points first. Doing this on ways with more than three nodes breaks the operation...not sure why. For now there's an `if/else` clause to work around that.