Fixed error in the ContiguousPath::Intersect() method when the two ContiguousPaths were on different planes.

Merged code between the FreeCAD and JDCNC versions of the Cam::Paths classes so that keeping them aligned will be easier.