Refactored quotas. Part 2.

Multiple quotas can be associated to methods. Quota consumption is
reported and available quota limit is required.