Add dependency on libev(-dev) and formatting.
Revert previous.  Libevent is compiled as a submodule.