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

Please remove this as using `this.sinon` makes the stubs and spies automatically restored after a test complete.