Enhance Transaction for segment insertion

Add addSegment(int position, Segment segment); 
Support segment insertion

Add addSegment(int position, Collection<Segment> segments); 
Support collection of segments insertion