added a test with four triangles arranged like a cube
fixed the TEST macro for debugging in linux
the intersectRayWith3DSegmentPlane method now only returns the absolut
value, because otherwise the direction of the plane is relevant.

fixed a lot of bugs in the intersectFirst method in FastKdTree. Next
thing to fix is the setting of the iterator begin and end. They don't
work yet.