Partly Revert "Replace BRepTools_ReShape with BRepBuilderAPI_MakeSolid in refinement algorithm"

This partly reverts commit 48f8d67b509a61875ee32fb809c8a66c4cafe6fe.

This reenables the workaround for the behavior of the Part Module.
As the changes in  src/Mod/Part/App/TopoShape.cpp and modelRefine.cpp
won't be backported to 0.13.
Revert "OpenSCAD use Part::Prism"

This reverts commit cf2d437c73f9b033bf8f3569841eb3f98df2d913.
Revert "use TypeId instead of Type of Part::Feature in exportCSG.py"

This reverts commit 97f3fd54ce2efb5ffc74df05a9a08ea503b18563.