support reading bold before colour

Signed-off-by: Mattias Andrée <maandree@operamail.com>
whoops

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add \e[9x and \e[10x support in xterm and haiku

Signed-off-by: Mattias Andrée <maandree@operamail.com>