Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation.
Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation.

ibr-cm/avrora,ibr-cm/avrora,ibr-cm/avrora