added functionality that makes the contact list compatible with server rosters that could be modified with other clients
added support for roster entries that aren't in a local or server group
Former-commit-id: 23d898308fb3aa673d85fdf00495d43e4c02a08f