Add simple beginnings of a terminal driver

It takes over character-echo responsibilities from the UART
driver.