Added possibility to register magnets as vector in the detector factory
The DetectorFactory is modified to account for its new methods RegisterListOfMagnets. The argument is a std::vectorMagnet::Generic*&. Check of the unicity of the name in the private map member of magnets is still assert. Tested against a simple example of creating a factory and accessing its magnets. Also works for Magnet::Generic derived classes.