GeneralDataStream reads word from stream
Refactor TerminalEmulator to use new readWord() method
New interface FormatTable

* Add new interface FormatTable with the corresponding implementation
  TerminalFormatTable.

* Remove clearFormatTable() method from DisplayBuffer. Feature is
  provided by FormatTable instead.

* Use new FormatTable interface in TerminalEmulator.