TerminalEmulator sends cursor and AID on Return key
FormatTable: add map() method

Added map() method to FormatTable interface that applies the passed
function to each element of the field list.
Field: add method isModified()
Field: add method markAsModified()

Added method markAsModified() to set bit 11
of field format word.
Field is mark as modified if content is changed
TerminalEmulator sends field position and content on Return key