Parametrize uart0 behaviour

move the task of uart initialization from board to cpu
parametrize uart initialization
move stdio/stderr redirection initialization here from cpu
make stdio/stderr redirection optional