DS-2355-spider added synchroniztion for ArrayLists: agents and domains

Fixed unsynchronized access to ArrayLists agents and domains problem which allowed files in config/spiders/agents and config/spiders/domains to be loaded multiple times