Add facility to append raw commands to the command list.

For testing, it's useful to be able to add commands with curl, without using a client.