Add optimization logger to distance-to-sphere test.

This provides a way to test `OptimizationLogger` and callbacks for unconstrained problems (e.g. [CMinpack](https://github.com/roboptim/roboptim-core-plugin-cminpack)/[Eigen](https://github.com/roboptim/roboptim-core-plugin-eigen) plugins).