Limit allocation_pools per subnet

Creates a quota for allocation pools per subnet.

RM#9974
Also fixes RM#9874