uart io handle refactored to be uart_device.
adding test to uart device open, some design problems and being frustrated.