made TinkerGraph safe to concurrent modification when iterating edges and adding and removing edges at the same time. Added a test case for this in EdgeTest.