ScenarioFactory.createSensor refactored 

The ScenarioFactory.createSensor method now takes a Sensor.Type object as parameter but just returns a generic Sensor object.