Improve coverage on common/compat_libevent.c

The changes are in the branch "compat_libevent_tests"

https://github.com/twstrike/tor_for_patching/tree/compat_libevent_tests

Trac:
Username: rjunior