prune: prune dependencies recursively

prune was not recursive when checking dependencies, for example when we
have for example a shared part for openssl that is used only by a shared
part for curl that is not used, we had to run prune twice, the first
iteration would remove curl and only the second iteration would see that
openssl is not used.

This prune in a loop until nothing is pruned by the last iteration. To
support dry-run, we added a ignored_shared_parts parameter to ignore the
parts that are supposed to be deleted.
12 jobs for feat/prune_recursive_dependencies in 0 seconds
Status Job ID Name Coverage
  External
passed SlapOS.Eggs.UnitTest-Jerome.Python2

00:13:52

passed SlapOS.Eggs.UnitTest-Jerome.Python3

00:15:27

failed SlapOS.Eggs.UnitTest-Jerome.Python2

00:29:36

passed SlapOS.Eggs.UnitTest-Jerome.Python2

00:18:51

passed SlapOS.Eggs.UnitTest-Jerome.Python2

00:13:35

passed SlapOS.Eggs.UnitTest-Jerome.Python2

00:22:32

passed SlapOS.Eggs.UnitTest-Jerome.Python2

00:46:16

passed SlapOS.Eggs.UnitTest-Jerome.Python3

00:35:30

passed SlapOS.Eggs.UnitTest-Jerome.Python3

00:18:47

passed SlapOS.Eggs.UnitTest-Jerome.Python3

00:22:02

passed SlapOS.Eggs.UnitTest-Jerome.Python3

00:17:53

passed SlapOS.Eggs.UnitTest-Jerome.Python3

00:34:03