Fixing various issues with edges. fixes #2340 #2339 #2330 #2331
Adding parameter to ClearAllEdgeBendsFactory