Function for reading IP lists as a text file

We need a function that provides most of the functionality in `ipsetbuild` for reading IP lists from a text file and returning an IP set.  The function should support the same format as `ipsetbuild` but not process multiple files.  The function prototype should be
```
struct ip_set *
ipset_read_text_file(const char *filename)
```