Delay all timers while loop isn't active
Delay all timers while loop isn't active

It will fix following scenario:

1. connect the instance
2. sleep for time greater than default timeout (e.g. 3 seconds)
3. schedule and execute a command

Without this patch libev backend will immediately return LCB_ETIMEDOUT

Change-Id: I71ad9b39fa7315d62d69c8314b0d15ba63491bf3
Reviewed-on: http://review.couchbase.org/23170
Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>

maxim-ky/libcouchbase,uvenum/libcouchbase,maxim-ky/libcouchbase,mnunberg/libcouchbase,trondn/libcouchbase,senthilkumaranb/libcouchbase,avsej/libcouchbase,uvenum/libcouchbase,couchbase/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,uvenum/libcouchbase,couchbase/libcouchbase,senthilkumaranb/libcouchbase,trondn/libcouchbase,signmotion/libcouchbase,mody/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,senthilkumaranb/libcouchbase,avsej/libcouchbase,mody/libcouchbase,mody/libcouchbase,PureSwift/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,mnunberg/libcouchbase,trondn/libcouchbase,PureSwift/libcouchbase,senthilkumaranb/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,couchbase/libcouchbase,mody/libcouchbase,uvenum/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,signmotion/libcouchbase,couchbase/libcouchbase,PureSwift/libcouchbase,uvenum/libcouchbase,maxim-ky/libcouchbase,PureSwift/libcouchbase,trondn/libcouchbase,couchbase/libcouchbase,trondn/libcouchbase,signmotion/libcouchbase,kojiromike/libcouchbase