I can haz friends

this adds initial support for friends, although functionality is currently
limited to searching people.