function(functionConfig) {
    this.functions.set(functionConfig.name, functionConfig);
    return this;
  }
Register a new function to be called by the AIbitat agents.
You are also required to specify the which node can call the function.
@param functionConfig The function configuration.