Add a __len__() method for PkgDepIter and PkgRdepIter types
Add a __contains__ method to test for dependency membership