Work on the friends part of the api. Added some test and fixed the other tests to follow our new model scheme. I Will finish the rest of the friends api stuff.