tests/periph_uart: adapt main.c for automated testing
tests/periph_uart: adapt main.c for automated testing

This is an effort to automate UART testing using the same framework as
was already introduced for i2c. The framework relies on shell commands
to return invocation status and data in a special way:

1. Invocation status: Success or Error
2. Data inside the []

Hence this patch adds invocation status to the UART init command and
invocation status and data to the printer.

Signed-off-by: Yegor Yefremov <379041fa42359f10443de1f461b1b247ec449fae@googlemail.com>

lazytech-org/RIOT,kaspar030/RIOT,mtausig/RIOT,kaspar030/RIOT,avmelnikoff/RIOT,kYc0o/RIOT,rfuentess/RIOT,avmelnikoff/RIOT,aeneby/RIOT,josephnoir/RIOT,OlegHahm/RIOT,miri64/RIOT,miri64/RIOT,OlegHahm/RIOT,kYc0o/RIOT,lazytech-org/RIOT,OTAkeys/RIOT,rfuentess/RIOT,kbumsik/RIOT,A-Paul/RIOT,OlegHahm/RIOT,aeneby/RIOT,authmillenon/RIOT,RIOT-OS/RIOT,yogo1212/RIOT,kbumsik/RIOT,OTAkeys/RIOT,authmillenon/RIOT,toonst/RIOT,avmelnikoff/RIOT,smlng/RIOT,smlng/RIOT,biboc/RIOT,miri64/RIOT,yogo1212/RIOT,ant9000/RIOT,aeneby/RIOT,lazytech-org/RIOT,kaspar030/RIOT,basilfx/RIOT,A-Paul/RIOT,yogo1212/RIOT,RIOT-OS/RIOT,x3ro/RIOT,cladmi/RIOT,x3ro/RIOT,rfuentess/RIOT,ant9000/RIOT,mfrey/RIOT,mtausig/RIOT,OlegHahm/RIOT,OTAkeys/RIOT,gebart/RIOT,aeneby/RIOT,BytesGalore/RIOT,ant9000/RIOT,gebart/RIOT,kaspar030/RIOT,josephnoir/RIOT,avmelnikoff/RIOT,cladmi/RIOT,authmillenon/RIOT,mtausig/RIOT,biboc/RIOT,mtausig/RIOT,toonst/RIOT,A-Paul/RIOT,kYc0o/RIOT,gebart/RIOT,jasonatran/RIOT,rfuentess/RIOT,yogo1212/RIOT,mtausig/RIOT,biboc/RIOT,basilfx/RIOT,yogo1212/RIOT,avmelnikoff/RIOT,mfrey/RIOT,basilfx/RIOT,cladmi/RIOT,BytesGalore/RIOT,jasonatran/RIOT,rfuentess/RIOT,A-Paul/RIOT,mfrey/RIOT,josephnoir/RIOT,josephnoir/RIOT,kbumsik/RIOT,basilfx/RIOT,OTAkeys/RIOT,authmillenon/RIOT,OTAkeys/RIOT,toonst/RIOT,miri64/RIOT,yogo1212/RIOT,cladmi/RIOT,authmillenon/RIOT,lazytech-org/RIOT,ant9000/RIOT,RIOT-OS/RIOT,ant9000/RIOT,aeneby/RIOT,gebart/RIOT,basilfx/RIOT,gebart/RIOT,lazytech-org/RIOT,smlng/RIOT,RIOT-OS/RIOT,biboc/RIOT,kbumsik/RIOT,authmillenon/RIOT,kbumsik/RIOT,kaspar030/RIOT,BytesGalore/RIOT,x3ro/RIOT,josephnoir/RIOT,toonst/RIOT,smlng/RIOT,A-Paul/RIOT,jasonatran/RIOT,OlegHahm/RIOT,biboc/RIOT,BytesGalore/RIOT,x3ro/RIOT,jasonatran/RIOT,cladmi/RIOT,smlng/RIOT,jasonatran/RIOT,mfrey/RIOT,x3ro/RIOT,miri64/RIOT,toonst/RIOT,kYc0o/RIOT,kYc0o/RIOT,mfrey/RIOT,RIOT-OS/RIOT,BytesGalore/RIOT