Adjust get_pull_request_of_user to be more flexible for the API use-case
This basically allows the API to directly return the PRs filed or
actionable by the user (actionable being all the user's PRs minus the
ones they filed).
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>