Fix an illegal read error in the evbuffer_add_reference tests

Found with AddressSanitizer
Fix a use-after-free error on EV_CLOSURE_EVENT_FINALIZE callbacks

After running the callback, we were checking evcb->evcb_closure to
decide whether to call mm_free(ev).  But the callback itself might
have freed ev, so we need to grab that field first

Found with AddressSanitizer
Fix ubsan warnings when parsing ipv4/ipv6 addrs

left-shifting a one-byte integer by 24 invokes undefined behavior.
Let's not do that.
Catch over-large port numbers early in http

Otherwise integer overflow potentially turns the port number into garbage.
evtag: detect tags over 32-bits earlier
Remove integer-overflow unit tests

There's not much point checking undefined behavior.
Correctly skip ipv6 http test on systems without ipv6
Renamed sin to saddr due to name conflict

During building on MSVC 2013 I got a compiler error by a
type conflict for sin:

test-fdleak.c(60) : error C2365: 'sin' : redefinition; previous definition was 'function'
test-fdleak.c(134) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(134) : error C2198: 'evconnlistener_new_bind' : too few arguments for call
test-fdleak.c(148) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(148) : error C2168: 'memcpy' : too few actual parameters for intrinsic function
test-fdleak.c(149) : error C2224: left of '.sin_family' must have struct/union type
test-fdleak.c(212) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(212) : error C2198: 'bufferevent_socket_connect' : too few arguments for call
test-fdleak.c(239) : error C2070: 'double (__cdecl *)()': illegal sizeof operand
test-fdleak.c(239) : error C2168: 'memset' : too few actual parameters for intrinsic function
test-fdleak.c(240) : error C2224: left of '.sin_family' must have struct/union type
test-fdleak.c(241) : error C2224: left of '.sin_addr' must have struct/union type
test-fdleak.c(242) : error C2224: left of '.sin_port' must have struct/union type

The simplest solution to this problem would be to rename
the variable.
Fixup make install for cmake projects

Install all of the public headers and put the dll's in the
same directory as the binaries.
Merge pull request #116 from trondn/cmake-build-fixes

Cmake build fixes
Update release date in changelog
Increment version to 2.1.4-alpha-dev
Fix a crash in evdns related to shutting down evdns

Patch from YASUOKA Masahiko; fix for libevent github issue #113.
Merge remote-tracking branch 'origin/patches-2.0'
regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
Add missing headerfile for cmake
Merge pull request #122 from trondn/missing-file

Add missing headerfile for cmake
Merge pull request #121 from azat/dns-regress-leaks

regress_dns: fix leaks in getaddrinfo_async{,_cancel_stress} tests
Fix a crash in evdns related to shutting down evdns

(Improved version to deal correctly with probe requests)

Patch from YASUOKA Masahiko; fix for libevent github issue #113.
Merge remote-tracking branch 'origin/patches-2.0'