Improved many-lights sampling with better tree building.

Instead of building the tree with a hierarchy of spheres, it's built
as a hierarchy of bounding boxes, which are then treated as spheres during
the sampling process.  This gives much tighter bounds, which in turn
improves the importance sampling quality considerably.