Pause active tab when the system is going to sleep

This should be consistent with how iTunes and other music players react to system sleep. It's useful for me (music won't start blasting out when I open the lid at work), maybe useful for others, too.