Add incremental contact manifold generation.

The contact reduction algorithm is too naive and should be replaced by something more precise.