Rename optimize.Result to OptimizeResult

See gh-3010 for discussion on this. New in 0.14.0, so can still be renamed.

Also silence some test output.