Add better test support for new project permissions settings panel

Follow up from gitlab-ce!14062

@iamphill:

I don't want to hold this up, but there is a lot of JS in here that really needs some tests. I think we are safe for now with the specs we do have, but all of these components really need tests.

We ought to write some additional tests to cover many of the interactive bits of this new settings panel.

Assignee Loading
Time tracking Loading