Add libevent thingie

Change-Id: Ic26af603de7609dae8c06fa352593a4672964723
Reviewed-on: http://review.couchbase.org/28732
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>