Fix using caption and type for all models
Currently the code to check the type or caption outside the delegate only works for models that are some sort of list underneath. For a QAbstractListModel derived c++ model using square brackets to access members doesn't work.
This patch adds type and caption as properties of the video and image delegates then AlbumMaximiseComponent accesses them by calling view.currentItem.type/caption