Implement the built-in setenv command

Add a built-in command called setenv that can be used to set or update
the content of environment variables, or if no arguments are set show a
list of all environment variables.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>