[DO NOT MERGE] Add members directly to applications

Allow changing app membership, add app member routes

Add team support for applications

Add API link

Adjust Domain.accessible to include domains containing apps the user has
access to

Make model methods for editing capabilities