Fix ResourceIndexerMapperTest on Postgresql
SONAR-4315 Inject project settings when executing an action
Fix quality flaws