bug fixes

- document and simplify unit tests.
- fixed bug in ScheduledFutureTask, where periodic tasks would be executed
  in too short periods of time after wakeup.
- reduced run time of SingleThreadEventLoopTest by ~40%.