master: Add class for storing quotas

Add class which manages limits and usage of resources which will be used
in the master server to implement quotas.

Change-Id: I09f21926c2750edb03e793306a00f6db718468de