friends.js now handles pending friend requests upon login and now additionally emits the type of steamid, allowing group invitations to be handled