Switch back to automatic quadrature degree.

The previous setting (=5) produced significant errors in the optimal layouts.
Merge branch 'next' into optimization_example
Fix doc link to coupled sw solver
More work on the channel optimization example
Move the automatic_scaling flag into ReducedFunctional.
Merge branch 'next' into optimization_example