Use NSDates for scheduling, instead of dispatch_time_t

Fixes #649.