making the Unit model hashable based on type and unit key so we can establish uniqueness within a set() and dict().
improving the algorithm to avoid a specific and unlikely collision case
fixing the equality comparison to detect different type IDs and properly define __ne__
Merge pull request #475 from pulp/mhrivnak-hashableunit

making the Unit model hashable based on type and unit key so we can esta...