cpu/sam3x: completed low-level UART driver

depends on #1481.

WIP: Not fully tested yet!