libev: Normalize timer handling

Fixes some bad memory access issues

Change-Id: I89ba77c95b2f5aa48c05841e4bf978e6b66e6eef
Reviewed-on: http://review.couchbase.org/32632
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
cast to unsigned long before printing hrtime

Change-Id: I3af250bfcca09bd76c49c8cf5b0868543e62d83f
Reviewed-on: http://review.couchbase.org/32751
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>