Added multithread support to libev and libevent backends via a simple semaphore. Stop does not work.
Merge branch 'libevent' into freebsd

Conflicts:
	src/onion/poller_libev.c