Major cleanup of UART rx parsing.
Major cleanup of UART rx parsing.

This also fixes the bug where START delim followed by START delim is
interpreted incorrectly as a frame with type 0 instead of restarting
the parsing due to the arrival of a second START delim.

aschulm/battor,aschulm/battor,aschulm/battor,aschulm/battor