Console API: provide (script-friendly) accessors for ConsoleWidget and its input and output widgets for visibility, focus etc. queries. Deprecate ConsoleAPI::ToggleConsole.