fix cases in which smallest_matching_cidr() and all_matching_cidrs()
return incorrect results
compare against smallest, not largest, range found so far
test membership with IPAddress rather than raw integer
Merge pull request #55 from akgood/rel-0.7.x

Fix smallest_matching_cidr and all_matching_cidrs