wip on friend system
fix CSRF/CSP issues
fix bug to allow unpausing invites
remove cruft
Finish up invite changes
fix check for single friend
use transactions for friend sync
remove @persistent cruft