WIP for combining the redundant code from the thunar-tree-view-model and thunar-list-model.
Based on #1361