Pull initial changes for #1282

This does not yet include a UI for modifying quotas, but it does set default quotas and enforce those quotas, as well as communicate those quotas to the client via a new API.