ReplConsoleView multiline input + refactoring

Multiline input field in the ReplConsoleView. The UI elements have also been factored out into a trait. To evaluate code/change history, CTRL must be held as well.

CommandField keyboard events can now be overridden, too.