Implement Quality's __hash__ and __eq__

This allows using qualities in dicts.

This fixes, for example, being able to add the same episode with the
same quality twice to the download manager.