Update capabilities from contacts in presence informations. Old behavior didn't take account of updated capabilities like removing lime support. Add a way to avoid multiple notifications on a batch of updates.
Little optimization on joinning strings.