Adding pruning of modules / version conflict manager

This is the first version of the pruning which is similiar to Ivy.
Perhaps we want a static way to resolve conflicts. See todo in the code in PR for more.
Also added ivy settings which makes it possible to add from typesafe repo