Triangleland: I. Classical dynamics with exchange of relative angular momentum