Database-backed implementation of QuotaStore.

Bugs closed: AURORA-421

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