Export BSP to STL

This adds `bsp_to_stl()` in `export.h` that builds an STL object from a BSP tree.

They are tested in `tests/export.c`