FIRST COMMIT - NOT WORKING CODE
Initial changes to get libevent working with libwebsockets
Only server side for now
From build directory use  cmake .. -DWITHOUT_CLIENT=1 -DWITH_SSL=1 -DWITH_LIBEVENT=1  -DWITHOUT_TESTAPPS=1 -VERBOSE=1 -DNO_DAEMONIZE=0
Defined WITH_LIBEVENT for CMakeLists.txt with corresponding preprocessor define -D LWS_LIBEVENT
Did a bit of shuffling structures from private-libwebsockets.h to libwebsockets.h
Destroyed opacity of library in terms of wsi and context structures - don't care for now
Changed default build CFLAGS to use visibility = default and -g3 and -O0 since I'm spending a lot of time in gdb ;)