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

`includeLocked` is expected to be a boolean but `secret` is a string.