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

- add tone tests
Merge pull request #18553 from gasolin/issue-973445

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