webinos/app-webinosTV — pull request #32 by lamuertepeluda (2013-03-21 18:15:40+00:00)
Title: Huge cllass re-design (APPWTV-41 and 43)

**MAIN CHANGES**
* Updated Media model to support several types/categories of media.
*Updated Device model to reference a queue of Media items.
* New store system: a single device store (both target and source devices) and a single media store. They leverage inheritance and the new Media model to implement views of the media store which are shown by the list components. Also the loading order has been modified (see launch function) to avoid errors in the UI and store duplication.
* New managers (in webinosTV.app.connectUI): they should be **the only interface** to add/remove items, devices and manage queues.
* New view and controllers class system: they leverage inheritance, event bubbling and event buffering to have a simpler to mantain code and a more homogeneus behavior (when selecting/deselecting items -> **may have broken the connectUI navigation**. Also the source device media reproduction queue view behavior is regulated by a FSM (see doc on GDrive) implemented in its controller.

**STILL TO DO/KNOWN ISSUES**
* "Close the loop" of the actions mechanism, for instance calling the queue manager or the media player manager when pressing the last column buttons.
* Re-design playlist items to better reflect the media type they represent, and the media status (e.g. use different colors or styles for playing, etc.)
* Add to such playlist items gesture listeners/controls for action such as "delete from queue", "move up/down in queue", "play now" etc.
* Handle media collections/albums/playlists
* Mirror events to webinos may be incomplete
* Navigation may have been broken by the new class structure