libshell: Relocated LogWidget and CommandLineWidget to libshell

These two widgets are generic enough to work in a GUI Shell as well.