Crash due to altering stack model cache during iteration: Bug #732035

The stack model map was being altered via our own signal handler
being fired due to destroying widgets while walking the cache map,
causing an assertion in Gee.  Using a copy of the map's keys works
around the issue.
Switch Idle and Timeout code to use Scheduled class