Added inet_pton/inet_ntop for MinGW on Windows; compiles with Lua52.
Updated IPV6_V6ONLY to match header files on Windows.
Merge branch 'lua52-mingw' of https://github.com/pkulchenko/luasocket into pkulchenko
Change Mac OS Lua directory
Add MingW support.
Added my test command lines.
Check linux build.
Fix socket.connect

Previous implementation was not making sure the socket
had the same family as the addr returned by getaddrinfo.
So instead of "connection refused", we could get "invalid
argument", which was our fault.
Merge tryconnect6 into inet_tryconnect.
No need for build script: makefile target instead.
Fix. getaddrinfo returns garbage as address on Windows.
Add. test_getaddrinfo.lua
Fix. setsockname fails with "*" as host.
Add. test_bind.lua
Fix. Optional IPv6 test
Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
Fix. use table.unpack in mimetest on Lua 5.2.
Fix Visual Studio 2012 projects
Merge branch 'moteus' of https://github.com/moteus/luasocket into moteus
Simplifying getaddrinfo treatment.
Merge branch 'pkulchenko' into unstable
Link only against ws2_32.lib.