revert the change in edge node order in Quad
rewrote BoundaryElementsAlongPolyline which works independently from node order of edges
fix memory leak in BoundaryElementsOnSurface