Updated friends.js to support pending requests

Just emit the list of all friend relationships to allow handling pending requests. Also added the steam ID type to handle group invites.