Proper use of AgentId typedef instead of int in AgentRegistry class.
Removal of shared_ptr use in AgentRegistry, as a better solution was proposed.
Replacement of static initialization with static variables in static functions, in AgentRegistry.
Fix of duplicate internalName insertion in AgentRegistry.registerAgentType. Now throws if duplicate insertion is attempted.