implement flowcontrol, nailing the tty to no-parity and one stop-bit, fixing tty cleanup

Signed-off-by: Russell Senior <russell@personaltelco.net>
clean-up dump_cbuf()

rely on cbuf's internal indexes rather than passing a counter in, also
relocated the calls to make more sense.

Signed-off-by: Russell Senior <russell@personaltelco.net>