Bug 1074732 - [Messages] Create a mixin to handle the select UI model

- Unbind the selected inputs logic from DOM tree structure. Create a selection module that listens to input select changed and return the selected data.
the first would allow iterating only once; but maybe using "for .. of" is not very performant for now... anyway I think the performance would be just good enough with both possibilities.