Add yardoc rake task.

Run with `rake doc`. Docs available in doc/.
Move static scheduling tasks to Scheduler; add docs.
Add a simple smoke test for scheduling.