Start adding a VT100 escape sequence parser

Signed-off-by: David Scott <dave.scott@eu.citrix.com>