Categorical: let unique only return used categories
Merge pull request #8937 from JanSchulz/cat_unique2

Categorical: let unique only return used categories
API: Allow equality comparisons of Series with a categorical dtype and object dtype are allowed (previously would raise TypeError) (GH8938)