bsp_clip() and friends

This implements `bsp_clip()` and `bsp_clip_polygons()` required for CSG construction.


### Todo

 * [x] Fix massive memory leak, because of a weird allocation bug in `bsp_clip_polygons()`
 * [x] Fix the klist_t(poly) deallocator