Update to the last ncollide build system.

As a side effect, this splits the `examples` directory into two directories `examples3d` and
`examples2d`.