[OCCT] 0023436: BRepOffsetAPI_ThruSections crashes when lofting through identical profiles Adding of test case

  Cherry-picked from
    http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=aadab51
[OCCT] 0023603: Boolean operation between two edges fails

  Cherry-picked from
    http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=e145f8c
  * Conflicts in src/IntTools/IntTools_EdgeEdge.cxx resolved by
    removing all trailing lines.