XFEM: Modified treatment of tip elements.
XFEM: Updated test case.
Made OOFEM compile with the sm module switched off.