Decouple IOLoop scheduler from util.gettimeofday()

Use clock_gettime() from the rt library with clock_id_t
of CLOCK_MONOTONIC in order for timeouts in the scheduler
to work correctly when the system time is changed.