Add 'union()' method to MultiLine and MultiPoint.

This function unions all of the internal lines and points. This is useful for merging lines and strings.