[core.restarts] Extracted app supervision code from `core.app'.
[core.timer] Have `timer.new()' accept an `app' argument (which
can be nil), to attach the timer to. Plug in `core.restarts'
to safely run timers and mark attached app dead on timer
failure.

[core.app] Delete delete orphan timers during
`apply_config_actions'.