function addCommands(command_list, type) {
			type = type || 'exec';

			each(command_list, function(callback, command) {
				each(command.toLowerCase().split(','), function(command) {
					commands[type][command] = callback;
				});
			});
		}
Adds commands to the command collection.

@method addCommands
@param {Object} command_list Name/value collection with commands to add, the names can also be comma separated.
@param {String} type Optional type to add, defaults to exec. Can be value or state as well.