Rename event namespace to eventxx.
This renaming is for the sake of clarity, so libevent and eventxx don't get
confused (by the compiler, by the documentation tools, by the man page reader,
etc.).
Casting fixes.
When using function pointers (other than the libevent C API style callbacks),
the implicit cast doesn't work, so reinterpret_cast< void* > is used.
C++ wrapper for libevent.
This is a simple, direct, one-header inline C++ wrapper for libevent.
It's designed to be as close to use to libevent without compromising modern
C++ programming techniques and efficiency (since all implementation is
trivial and inline, theoretically, it imposes no overhead at all).