Correctly shows upload scan and add application buttons when the correct permissions are present on team and application objects.
Makes Select All / Select None work on the roles modals.
Merge commit '5dc7cddfc12723f7c99f89695eb193e0400c8028' into HEAD