Bug 1084298 - [Messages] Decoupling the all inputs query logic from DOM tree structure

- Add map for each view for maintaining the data for rendering/selection
Do we still need ```allInputs``` property and ```getAllInputs``` method in ThreadListUI and ThreadUI?