Change how IP address lookups are performed

'ipaddr' filter will now correctly lookup IP addresses or networks in
IPv4 and IPv6 CIDR ranges.
Make filter code more "Pythonic"
Merge pull request #26 from drybjed/update-filters

Update filters