RF: adapt delocate-listdeps to lib_dict structure

Use stripped_lib_dict to replicate more or less same output.
RF: refactor high-level routines to lib_dict mod

Refactor delocation routines to use the new lib_dict structure.

Refactor _copy_required and add lots of comments because I didn't
understand it.  I still don't properly.