CTS interrupt
Added support for the CTS interrupt (actually a modem interrupt + checking if CTS has changed). It is enabled on a write to the train set, and after 2 CTS interrupts occur the UART server knows the train set is good to receive again.
Also made some bug fixes.