Fix use of printStackTrace in AbstractImporterComponent

Introduce a abstract getLogger method in the AbstractImporterComponent to avoid
the use of printStackTrace.
Fix a few sonar sonar in core module
Fix sonar issues in testing module
Fix packages and factory names of all discoveries