list-packages: new functionalities

I have basically made orphan-opt obsolete