check for malformed lines
ignore invalid ips
change all cfgdata to cfg_data
sort of implement cidr queries for bro searcher

Since this would likely be a common thing for other flat file based
searchers this should be make cleaner and more reusable.

Should probably use pytricia too