Add BaseAgent.getAgentsWithSkill
Fix a bug (type and name are mandatory field of a registration)