Add shortcuts for adding users to a project team with a specific role
This also updates some specs to use these new methods, just to serve as an example for others going forward, but by no means is this exhaustive.
Original implementations at !5992 (closed) and !6012 (closed).
Closes #20944 (closed)