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

Note: this refactor just move slider control into `volume.js`
nit: indention error.