Factors out common settings setup and teardown
Adds some helper methods for fetching remote rdf
Adds friendship capabilities

Incoming webids will be looked up in a list of friends and it will mark the request
according to what relationship the client has