Move changeQueued out from inner class component to outer "Connected" functional component.
(Also refactored the logic to simplify things/avoid lodash)
As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component
Depends on D3762