Rename timer to scheduler.

Better represents what it does and avoids naming confusion with
time.Timer.