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: 2b8668a4eb [formerly 23d898308fb3aa673d85fdf00495d43e4c02a08f]
Former-commit-id: e4bd8a3e2c