add_tool.sh: make TOOL_WRAPPER optional and check that tool is not already referenced in local_tools_conf.xml before adding a new entry.