Implemented contact for HitTriangles; some cleanup to collision code.
Unified friction for LineSegs at 0.3 for now.