updated usage of ElggEntity::getEntitiesFromRelationship() and ElggGroup::getMembers()
updated usage of deprecated functions moved into data model classes
updated deprecated usage of ElggUser::getGroups() and ElggUser::listFriends()