[MRG] no need to use dict in scrapy.utils.python.unique

We don't support Python 2.2 anymore :)

There are other possible optimizations (like special-casing identity key function), but `scrapy.utils.python.unique` is barely used in scrapy, and all usages in scrapy are with non-default key function.