Added Suspend/ResumeTimeouts API. Deactivate browser and js when window is minimized. r=
Fixed signals connection order.