Bug 973445 - [settings] refactor Sound panel with AMD pattern

This is not a sinon bug. `sinon.useFakeTimer` also replaces `window.clearInterval`, so please spy the function after the call to `this.sinon.useFakeTimer`.