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
I didn't apply ```this.selectionHandler.someSelected``` because the selected count will be needed later, and it seems a litle bit redundent to fetch the selection count again(if we apply .someSelected here). Maybe you think it's fine or have better idea for this case?