Final design for ioctl and termios interface

- termios should now work over ioctl for UARTs