[Logging] Use reusable Console widget in Log Details (#1988)
* Extract the debugger console component to a common location, and use it from there.
* Modify the Logging panel to use the Console widget, with a Copy button.
* Add a textContent getter to the Console widget, and use it on tests.
Fixes https://github.com/flutter/devtools/issues/1753