Fix TasteBuddy.__cmp__

Fixes https://github.com/Tribler/dispersy/issues/358.