Added test case for polygons overlapping along parallel edges.
Significantly improved output in cases where input paths have overlapping edges, however there are still issues with overlapping curves and curve-to-line-segment edge cases.