chore(users): move river creation to ElggUser::addFriend

Refs #7247
chore(views): improve static analysis in river views
Merge pull request #7254 from mrclay/river_static_analysis

chore(views): improve static analysis in river views
Merge pull request #7248 from mrclay/7247

chore(users): move river creation to ElggUser::addFriend