add get_segments method to collections.LineCollection

collections.LineCollection has a set_segments method that lets you set the vertices of the line segments in the collection.  However, it has no corresponding get_segments method.  This adds the method.