Fix memory leak in zinterface_list() for Windows.
Fix an infinite recursion in zsys_init().

zsys_init() was getting in an infinite recursion if called with any of
the following ENVVARS set:
- ZSYS_INTERFACE
- ZSYS_LOGIDENT
- ZSYS_LOGSENDER
Merge pull request #588 from ahhentz/zinterface

zbeacon: Use zinterface_list() in s_get_interface()
Merge pull request #589 from ahhentz/bugfix

Some bugfixes
mingw fix: DLL_EXPORT -> LIBCZMQ_EXPORTS

since commit 5dc41fe9a16d722fb675bbd3abe4c9f59c74d0e6,
DLL_EXPORT was renamed to LIBCZMQ_EXPORTS.
fix issue 572: match socket xor fd

previously a user could populate into zmq_pollitem_t
- a non-NULL libzmq socket
- a non-zero fd
and the code would search for both types.
this logic also precluded using fd==0

the new semantics only match for fd field if socket field is invalid.
i.e. socket==NULL
Merge pull request #590 from pijyoi/master

mingw fix: DLL_EXPORT -> LIBCZMQ_EXPORTS
Merge pull request #591 from pijyoi/issue572

fix issue 572: match socket xor fd
Fix code style in zinterface
Fix memory leak in zinterface_list