Bug 1092393 - Pausing downloads on shutdown r=aus

It would be good to have a simple unit test for the sleep_menu to ensure that no-one accidentally removes this event since it would cause this to regress.