Add dependencies from detached configuration to IDEA module.

Fixes regression where dependencies were not correctly exported if they
were added into scopeMappings map through detached configurations.