Adding the partnership retrieval code with some GET params to search by mentor/apprentice instead of by relationship

Wanted to start this PR, as I think the rest of the end points will be easy. I figured handling this GET request via the query string would be the best way to go about it, though I hate the key 'type'. Looking for some feedback is all :)