Adds zinterface class.

I needed to get a list of network interfaces for a given host, so I made this class.

The code is basically a copy from the function s_get_interface() in zbeacon.c. If this patch is accepted, I'll update zbeacon to use this funcion and remove the duplicate code.

The code has been tested on linux, Mac OSX and Windows.

Any suggestions are welcome.