cmd: Introduce sc_cmd_register() and use it internally

Projects can now register their own commands for the UART interface
Merge pull request #2 from snowcap-electronics/cmd_register

cmd: Introduce sc_cmd_register() and use it internally