Simplify command

for the moment I didn't have better idea how to shrink the contents of dependencies.file but to filter lines where a package name belongs to the set of indirect packages.
this probably needs more test cases and docs and stuff
we should probably scan the code for "paket.references" and put it into Constants. Can you do this too? Thanks