removed useless flags and clean now remove tests
event_init is deprecated
removed global libevent_eh