Use a QTabWidget for the different modes in DebugConsole
Summary: Replaces the custom logic to switch between the three modes by tabs.
Reviewers: Plasma, mart
Reviewed By: mart
Subscribers: mart, plasma-devel
Projects: Plasma
Differential Revision: https://phabricator.kde.org/D1271