Add incipient timer module for time-based event dispatch.

Lightly tested with simple builtin unit test; not integrated into
wider system yet.