removing __cmp__ from class Dependency, since python 3 does not support this anymore and we are already implementing __lt__