Other optimize / trust-region improvements

Two more commits to be merged in your trust-region contribution, if you agree:
- document options in `show_options` function
- some changes in the internals: extension of the quadratic model class and changes in the way information is passed between solvers and the base trust-region algorithm; this set of changes makes the code clearer IMO.