fixes for ARAKOON-371
time_for_elections moves to Unix.gettimeofday
refire thread for future events in some forgotten corner cases.
current libev (for jenkins builds)
Merge pull request #59 from Incubaid/1.4-ARAKOON-371

1.4 arakoon 371