TerminalEmulator use new setCharacterAt() for keypress

* Add new setCharacterAt() method to DisplayBuffer
* TerminalEmulator uses new method to set keypress
  character at current cursor position.
TerminalDisplayBuffer: Refactor setCharacter()
TerminalEmulator moves cursor right after text key press
Refactor TerminalEmulatorTest to be less verbose