drivers: improved UART driver interface

improved UART driver and adjusted existing implementations to it. 
Tested with
- arduino-due
- stm32f0discovery
- stm32f4discovery