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

- use promise
- modulize slider_handler
Merge pull request #23897 from gasolin/issue-973445-4

Bug 973445 - [settings] refactor Sound panel with AMD pattern, r=arthur