Replaced all id lists with sets, because duplicated id's dont make
sense.
Introducing correct implementation of hashcode and equals for all id
entities.
keeping a coherent model when deleting contacts, groups or tasks
by removing dead id entries from associated id entities.