Put file-local classes in unnamed namespaces

This makes them truly file-local, and avoids problems with the C++
"One Definition Rule."
Fix Sphere2::Sampler::sample_from_viewpoint

The mirroring optimization was mirroring the wrong thing.
Print samples/pixel in info output