Issue 817 API resource for quotas

Added quota model