Adding support for a pre-update quota check.

Bugs closed: AURORA-649

Reviewed at https://reviews.apache.org/r/24995/