Added dynamic variables for commands.

This commit changes the command config, and it have to be manually
removed if upgrading.
The commands can now have any number of variables with the types string,
password and integer.