Fix owner() policy check for networks

_remove_unauthorized_networks now covers the case when
tenant_id is None.

RM9376
add composite primary key to quark_port_ip_address_associations
Merge pull request #248 from TMaddox/primary_key_quark_port_ip_address_associations_upstream

add composite primary key to quark_port_ip_address_associations
Ensure code will mark currently fully allocated subnets as full

- unit test that logic is setting next_auto_assign_ip to -1 when subnet is fully allocated
- functional tests validating the same
- fix subnet_find_allocation_count
    - was just ordering by used ip count, instead of what is remaining.
    - example, a /31 and /32 could both have 0 ips used, but their remaining is 2 and 4, so the /31 should be first returned
- use sqlalchemy desc (descending method) instead of string
- rename subnet_find_allocation_counts to subnet_find_orderd_by_full

RM8677
Merge pull request #247 from jmeridth/rm8677

Ensure code will mark currently fully allocated subnets as full
Quota fixes for plugin_modules/subnets.py

This is the now squashed commit of adding route_per_subnet logic
into plugin_modules/subnet.py, as well as adding new dns_nameservers
quotas. Unit tests included (RM9814 and RM9815)
RM9944

Adds connection pooling to standard and sentinel based connections
Merge pull request #249 from insequent/fix_for_500s

Fix for 500s
Merge pull request #251 from Cerberus98/rm9944_work

RM9944
Merge pull request #250 from asadoughi/9736

Fix owner() policy check for networks
Limit allocation_pools per subnet

Creates a quota for allocation pools per subnet.
The update case is ignored because we don't allow
subnet updates anyway.

RM#9974
Also fixes RM#9874
Merge pull request #253 from rackerlabs/up_alloc_pool_quota

Limit allocation_pools per subnet
RM100020

Revisions to ConnectionPools and SSL connections based on testing
Merge pull request #254 from Cerberus98/rm100020_work

RM100020
lol
Connection Pools and sentinel SSL
I don't even care
things being written
Reading all the rules in chunks rather than one query per group
Things lol