Fix DependencyInfo equals() and hashcode() to take non-GAV based DependencyInfos into account