[WIP] Add command for starting an application

This is WIP and targets #425.

@neithernut please review my exec() utility function, which is the first
step towards a command.
As I rewrote the whole function, this is not true anymore.