[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.
Your code is still faulty. You need to decrement `n` _before_ copying.