Add support for security group quotas

Fixes bug 1149286

Change-Id: I7db9416c00296dfefdbf8fef880154c05fa2445a