Quota number of collections per res_id
Factor out setUp/tearDown for quota collections tests
Use None for no quota in config