[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.
`iter_type` will _not_ be refreshed on every loop iteration (which is definitely not what you want).