libevent examples: Fully convert to libevent2 (issue #5)

Currently, unfortunately some of the libevent-based examples would not
compile at all, others would compile but crash immediately because they
were mixing libevent and libevent2 calls.

This problem was kindly pointed out (for libevent-demo) by
otisman32 @ github.