Merge pull request #115 from hintjens/master

Fixed issue #114
fix zfile self test assertion

on mingw32, mode_t is an unsigned short. hence the error return of
(mode_t)-1 of zfile_mode() is positive
make zbeacon socket usage compatible with WinSock
Merge pull request #119 from pijyoi/mingw-fix

Mingw fix: zfile assertion and zbeacon winsock compatibility
oops, missing semicolon breaks non-Windows builds
typedef order reversed
Merge pull request #120 from pijyoi/master

missing semicolon in previous commit breaks non-Windows builds
add simple Makefile for mingw32
Merge pull request #121 from pijyoi/master

add simple Makefile for mingw32 build
Clarified zlist autofree method
Clarified API