collisions: added point-triangle constraint solving kernel
massive refactor