Added friendlist permission method to API controller.
Merge branch 'API_mainfest' of https://github.com/Immanent/diaspora into API_mainfest